git.delta.rocks / unique-network / refs/commits / f19958520218

difftreelog

build run benchmarks

Yaroslav Bolyukin2023-03-30parent: #8f51394.patch.diff
in: master

12 files changed

modifiedpallets/common/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_common3//! Autogenerated weights for pallet_common
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template
20// .maintain/frame-weight-template.hbs20// --template=.maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
41/// Weights for pallet_common using the Substrate node and recommended hardware.41/// Weights for pallet_common using the Substrate node and recommended hardware.
42pub struct SubstrateWeight<T>(PhantomData<T>);42pub struct SubstrateWeight<T>(PhantomData<T>);
43impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {43impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
44 // Storage: Common CollectionProperties (r:1 w:1)44 /// Storage: Common CollectionProperties (r:1 w:1)
45 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
46 /// The range of component `b` is `[0, 64]`.
45 fn set_collection_properties(b: u32, ) -> Weight {47 fn set_collection_properties(b: u32, ) -> Weight {
48 // Proof Size summary in bytes:
49 // Measured: `265`
50 // Estimated: `43467`
51 // Minimum execution time: 7_163_000 picoseconds.
46 Weight::from_ref_time(9_293_000 as u64)52 Weight::from_parts(586_898, 43467)
47 // Standard Error: 14_27553 // Standard Error: 23_783
48 .saturating_add(Weight::from_ref_time(6_172_391 as u64).saturating_mul(b as u64))54 .saturating_add(Weight::from_parts(6_089_494, 0).saturating_mul(b.into()))
49 .saturating_add(T::DbWeight::get().reads(1 as u64))55 .saturating_add(T::DbWeight::get().reads(1_u64))
50 .saturating_add(T::DbWeight::get().writes(1 as u64))56 .saturating_add(T::DbWeight::get().writes(1_u64))
51 }57 }
52 // Storage: Common CollectionProperties (r:1 w:1)58 /// Storage: Common CollectionProperties (r:1 w:1)
59 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
60 /// The range of component `b` is `[0, 64]`.
53 fn delete_collection_properties(b: u32, ) -> Weight {61 fn delete_collection_properties(b: u32, ) -> Weight {
62 // Proof Size summary in bytes:
63 // Measured: `302 + b * (33030 ±0)`
64 // Estimated: `43467`
65 // Minimum execution time: 6_540_000 picoseconds.
54 Weight::from_ref_time(8_945_000 as u64)66 Weight::from_parts(6_684_000, 43467)
55 // Standard Error: 65_31367 // Standard Error: 67_984
56 .saturating_add(Weight::from_ref_time(21_617_763 as u64).saturating_mul(b as u64))68 .saturating_add(Weight::from_parts(21_502_829, 0).saturating_mul(b.into()))
57 .saturating_add(T::DbWeight::get().reads(1 as u64))69 .saturating_add(T::DbWeight::get().reads(1_u64))
58 .saturating_add(T::DbWeight::get().writes(1 as u64))70 .saturating_add(T::DbWeight::get().writes(1_u64))
59 }71 }
60}72}
6173
62// For backwards compatibility and tests74// For backwards compatibility and tests
63impl WeightInfo for () {75impl WeightInfo for () {
64 // Storage: Common CollectionProperties (r:1 w:1)76 /// Storage: Common CollectionProperties (r:1 w:1)
77 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
78 /// The range of component `b` is `[0, 64]`.
65 fn set_collection_properties(b: u32, ) -> Weight {79 fn set_collection_properties(b: u32, ) -> Weight {
80 // Proof Size summary in bytes:
81 // Measured: `265`
82 // Estimated: `43467`
83 // Minimum execution time: 7_163_000 picoseconds.
66 Weight::from_ref_time(9_293_000 as u64)84 Weight::from_parts(586_898, 43467)
67 // Standard Error: 14_27585 // Standard Error: 23_783
68 .saturating_add(Weight::from_ref_time(6_172_391 as u64).saturating_mul(b as u64))86 .saturating_add(Weight::from_parts(6_089_494, 0).saturating_mul(b.into()))
69 .saturating_add(RocksDbWeight::get().reads(1 as u64))87 .saturating_add(RocksDbWeight::get().reads(1_u64))
70 .saturating_add(RocksDbWeight::get().writes(1 as u64))88 .saturating_add(RocksDbWeight::get().writes(1_u64))
71 }89 }
72 // Storage: Common CollectionProperties (r:1 w:1)90 /// Storage: Common CollectionProperties (r:1 w:1)
91 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
92 /// The range of component `b` is `[0, 64]`.
73 fn delete_collection_properties(b: u32, ) -> Weight {93 fn delete_collection_properties(b: u32, ) -> Weight {
94 // Proof Size summary in bytes:
95 // Measured: `302 + b * (33030 ±0)`
96 // Estimated: `43467`
97 // Minimum execution time: 6_540_000 picoseconds.
74 Weight::from_ref_time(8_945_000 as u64)98 Weight::from_parts(6_684_000, 43467)
75 // Standard Error: 65_31399 // Standard Error: 67_984
76 .saturating_add(Weight::from_ref_time(21_617_763 as u64).saturating_mul(b as u64))100 .saturating_add(Weight::from_parts(21_502_829, 0).saturating_mul(b.into()))
77 .saturating_add(RocksDbWeight::get().reads(1 as u64))101 .saturating_add(RocksDbWeight::get().reads(1_u64))
78 .saturating_add(RocksDbWeight::get().writes(1 as u64))102 .saturating_add(RocksDbWeight::get().writes(1_u64))
79 }103 }
80}104}
81105
modifiedpallets/configuration/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_configuration3//! Autogenerated weights for pallet_configuration
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template
20// .maintain/frame-weight-template.hbs20// --template=.maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
36pub trait WeightInfo {36pub trait WeightInfo {
37 fn set_weight_to_fee_coefficient_override() -> Weight;37 fn set_weight_to_fee_coefficient_override() -> Weight;
38 fn set_min_gas_price_override() -> Weight;38 fn set_min_gas_price_override() -> Weight;
39 fn set_xcm_allowed_locations() -> Weight;
40 fn set_app_promotion_configuration_override() -> Weight;39 fn set_app_promotion_configuration_override() -> Weight;
41 fn set_collator_selection_desired_collators() -> Weight;40 fn set_collator_selection_desired_collators() -> Weight;
42 fn set_collator_selection_license_bond() -> Weight;41 fn set_collator_selection_license_bond() -> Weight;
46/// Weights for pallet_configuration using the Substrate node and recommended hardware.45/// Weights for pallet_configuration using the Substrate node and recommended hardware.
47pub struct SubstrateWeight<T>(PhantomData<T>);46pub struct SubstrateWeight<T>(PhantomData<T>);
48impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {47impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
49 // Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)48 /// Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
49 /// Proof: Configuration WeightToFeeCoefficientOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
50 fn set_weight_to_fee_coefficient_override() -> Weight {50 fn set_weight_to_fee_coefficient_override() -> Weight {
51 // Proof Size summary in bytes:
52 // Measured: `0`
53 // Estimated: `0`
54 // Minimum execution time: 1_565_000 picoseconds.
51 Weight::from_ref_time(3_732_000 as u64)55 Weight::from_parts(1_636_000, 0)
52 .saturating_add(T::DbWeight::get().writes(1 as u64))56 .saturating_add(T::DbWeight::get().writes(1_u64))
53 }57 }
54 // Storage: Configuration MinGasPriceOverride (r:0 w:1)58 /// Storage: Configuration MinGasPriceOverride (r:0 w:1)
59 /// Proof: Configuration MinGasPriceOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
55 fn set_min_gas_price_override() -> Weight {60 fn set_min_gas_price_override() -> Weight {
61 // Proof Size summary in bytes:
62 // Measured: `0`
63 // Estimated: `0`
64 // Minimum execution time: 1_695_000 picoseconds.
56 Weight::from_ref_time(3_625_000 as u64)65 Weight::from_parts(1_798_000, 0)
57 .saturating_add(T::DbWeight::get().writes(1 as u64))66 .saturating_add(T::DbWeight::get().writes(1_u64))
58 }67 }
59 // Storage: Configuration XcmAllowedLocationsOverride (r:0 w:1)68 /// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
60 fn set_xcm_allowed_locations() -> Weight {69 /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
61 Weight::from_ref_time(3_975_000 as u64)
62 .saturating_add(T::DbWeight::get().writes(1 as u64))
63 }
64 // Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
65 fn set_app_promotion_configuration_override() -> Weight {70 fn set_app_promotion_configuration_override() -> Weight {
71 // Proof Size summary in bytes:
72 // Measured: `0`
73 // Estimated: `0`
74 // Minimum execution time: 2_546_000 picoseconds.
66 Weight::from_ref_time(4_759_000 as u64)75 Weight::from_parts(2_796_000, 0)
67 .saturating_add(T::DbWeight::get().writes(1 as u64))76 .saturating_add(T::DbWeight::get().writes(1_u64))
68 }77 }
69 // Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)78 /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
79 /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
70 fn set_collator_selection_desired_collators() -> Weight {80 fn set_collator_selection_desired_collators() -> Weight {
81 // Proof Size summary in bytes:
82 // Measured: `0`
83 // Estimated: `0`
84 // Minimum execution time: 7_323_000 picoseconds.
71 Weight::from_ref_time(18_296_000 as u64)85 Weight::from_parts(8_251_000, 0)
72 .saturating_add(T::DbWeight::get().writes(1 as u64))86 .saturating_add(T::DbWeight::get().writes(1_u64))
73 }87 }
74 // Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)88 /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
89 /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
75 fn set_collator_selection_license_bond() -> Weight {90 fn set_collator_selection_license_bond() -> Weight {
91 // Proof Size summary in bytes:
92 // Measured: `0`
93 // Estimated: `0`
94 // Minimum execution time: 4_286_000 picoseconds.
76 Weight::from_ref_time(14_397_000 as u64)95 Weight::from_parts(4_442_000, 0)
77 .saturating_add(T::DbWeight::get().writes(1 as u64))96 .saturating_add(T::DbWeight::get().writes(1_u64))
78 }97 }
79 // Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)98 /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
99 /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
80 fn set_collator_selection_kick_threshold() -> Weight {100 fn set_collator_selection_kick_threshold() -> Weight {
101 // Proof Size summary in bytes:
102 // Measured: `0`
103 // Estimated: `0`
104 // Minimum execution time: 4_216_000 picoseconds.
81 Weight::from_ref_time(13_951_000 as u64)105 Weight::from_parts(4_389_000, 0)
82 .saturating_add(T::DbWeight::get().writes(1 as u64))106 .saturating_add(T::DbWeight::get().writes(1_u64))
83 }107 }
84}108}
85109
86// For backwards compatibility and tests110// For backwards compatibility and tests
87impl WeightInfo for () {111impl WeightInfo for () {
88 // Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)112 /// Storage: Configuration WeightToFeeCoefficientOverride (r:0 w:1)
113 /// Proof: Configuration WeightToFeeCoefficientOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
89 fn set_weight_to_fee_coefficient_override() -> Weight {114 fn set_weight_to_fee_coefficient_override() -> Weight {
115 // Proof Size summary in bytes:
116 // Measured: `0`
117 // Estimated: `0`
118 // Minimum execution time: 1_565_000 picoseconds.
90 Weight::from_ref_time(3_732_000 as u64)119 Weight::from_parts(1_636_000, 0)
91 .saturating_add(RocksDbWeight::get().writes(1 as u64))120 .saturating_add(RocksDbWeight::get().writes(1_u64))
92 }121 }
93 // Storage: Configuration MinGasPriceOverride (r:0 w:1)122 /// Storage: Configuration MinGasPriceOverride (r:0 w:1)
123 /// Proof: Configuration MinGasPriceOverride (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen)
94 fn set_min_gas_price_override() -> Weight {124 fn set_min_gas_price_override() -> Weight {
125 // Proof Size summary in bytes:
126 // Measured: `0`
127 // Estimated: `0`
128 // Minimum execution time: 1_695_000 picoseconds.
95 Weight::from_ref_time(3_625_000 as u64)129 Weight::from_parts(1_798_000, 0)
96 .saturating_add(RocksDbWeight::get().writes(1 as u64))130 .saturating_add(RocksDbWeight::get().writes(1_u64))
97 }131 }
98 // Storage: Configuration XcmAllowedLocationsOverride (r:0 w:1)132 /// Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
99 fn set_xcm_allowed_locations() -> Weight {133 /// Proof: Configuration AppPromomotionConfigurationOverride (max_values: Some(1), max_size: Some(17), added: 512, mode: MaxEncodedLen)
100 Weight::from_ref_time(3_975_000 as u64)
101 .saturating_add(RocksDbWeight::get().writes(1 as u64))
102 }
103 // Storage: Configuration AppPromomotionConfigurationOverride (r:0 w:1)
104 fn set_app_promotion_configuration_override() -> Weight {134 fn set_app_promotion_configuration_override() -> Weight {
135 // Proof Size summary in bytes:
136 // Measured: `0`
137 // Estimated: `0`
138 // Minimum execution time: 2_546_000 picoseconds.
105 Weight::from_ref_time(4_759_000 as u64)139 Weight::from_parts(2_796_000, 0)
106 .saturating_add(RocksDbWeight::get().writes(1 as u64))140 .saturating_add(RocksDbWeight::get().writes(1_u64))
107 }141 }
108 // Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)142 /// Storage: Configuration CollatorSelectionDesiredCollatorsOverride (r:0 w:1)
143 /// Proof: Configuration CollatorSelectionDesiredCollatorsOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
109 fn set_collator_selection_desired_collators() -> Weight {144 fn set_collator_selection_desired_collators() -> Weight {
145 // Proof Size summary in bytes:
146 // Measured: `0`
147 // Estimated: `0`
148 // Minimum execution time: 7_323_000 picoseconds.
110 Weight::from_ref_time(18_296_000 as u64)149 Weight::from_parts(8_251_000, 0)
111 .saturating_add(RocksDbWeight::get().writes(1 as u64))150 .saturating_add(RocksDbWeight::get().writes(1_u64))
112 }151 }
113 // Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)152 /// Storage: Configuration CollatorSelectionLicenseBondOverride (r:0 w:1)
153 /// Proof: Configuration CollatorSelectionLicenseBondOverride (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
114 fn set_collator_selection_license_bond() -> Weight {154 fn set_collator_selection_license_bond() -> Weight {
155 // Proof Size summary in bytes:
156 // Measured: `0`
157 // Estimated: `0`
158 // Minimum execution time: 4_286_000 picoseconds.
115 Weight::from_ref_time(14_397_000 as u64)159 Weight::from_parts(4_442_000, 0)
116 .saturating_add(RocksDbWeight::get().writes(1 as u64))160 .saturating_add(RocksDbWeight::get().writes(1_u64))
117 }161 }
118 // Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)162 /// Storage: Configuration CollatorSelectionKickThresholdOverride (r:0 w:1)
163 /// Proof: Configuration CollatorSelectionKickThresholdOverride (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
119 fn set_collator_selection_kick_threshold() -> Weight {164 fn set_collator_selection_kick_threshold() -> Weight {
165 // Proof Size summary in bytes:
166 // Measured: `0`
167 // Estimated: `0`
168 // Minimum execution time: 4_216_000 picoseconds.
120 Weight::from_ref_time(13_951_000 as u64)169 Weight::from_parts(4_389_000, 0)
121 .saturating_add(RocksDbWeight::get().writes(1 as u64))170 .saturating_add(RocksDbWeight::get().writes(1_u64))
122 }171 }
123}172}
124173
modifiedpallets/evm-migration/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_evm_migration3//! Autogenerated weights for pallet_evm_migration
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template
20// .maintain/frame-weight-template.hbs20// --template=.maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
44/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.44/// Weights for pallet_evm_migration using the Substrate node and recommended hardware.
45pub struct SubstrateWeight<T>(PhantomData<T>);45pub struct SubstrateWeight<T>(PhantomData<T>);
46impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {46impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
47 // Storage: EvmMigration MigrationPending (r:1 w:1)47 /// Storage: EvmMigration MigrationPending (r:1 w:1)
48 // Storage: System Account (r:1 w:0)48 /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
49 // Storage: EVM AccountCodes (r:1 w:0)49 /// Storage: System Account (r:1 w:0)
50 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
51 /// Storage: EVM AccountCodes (r:1 w:0)
52 /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
50 fn begin() -> Weight {53 fn begin() -> Weight {
54 // Proof Size summary in bytes:
55 // Measured: `94`
56 // Estimated: `7676`
57 // Minimum execution time: 12_699_000 picoseconds.
51 Weight::from_ref_time(16_052_000 as u64)58 Weight::from_parts(12_989_000, 7676)
52 .saturating_add(T::DbWeight::get().reads(3 as u64))59 .saturating_add(T::DbWeight::get().reads(3_u64))
53 .saturating_add(T::DbWeight::get().writes(1 as u64))60 .saturating_add(T::DbWeight::get().writes(1_u64))
54 }61 }
55 // Storage: EvmMigration MigrationPending (r:1 w:0)62 /// Storage: EvmMigration MigrationPending (r:1 w:0)
56 // Storage: EVM AccountStorages (r:0 w:1)63 /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
64 /// Storage: EVM AccountStorages (r:0 w:80)
65 /// Proof Skipped: EVM AccountStorages (max_values: None, max_size: None, mode: Measured)
66 /// The range of component `b` is `[0, 80]`.
57 fn set_data(b: u32, ) -> Weight {67 fn set_data(b: u32, ) -> Weight {
68 // Proof Size summary in bytes:
69 // Measured: `96`
70 // Estimated: `2600`
71 // Minimum execution time: 9_157_000 picoseconds.
58 Weight::from_ref_time(9_257_564 as u64)72 Weight::from_parts(7_442_065, 2600)
59 // Standard Error: 1_38473 // Standard Error: 1_138
60 .saturating_add(Weight::from_ref_time(939_454 as u64).saturating_mul(b as u64))74 .saturating_add(Weight::from_parts(934_789, 0).saturating_mul(b.into()))
61 .saturating_add(T::DbWeight::get().reads(1 as u64))75 .saturating_add(T::DbWeight::get().reads(1_u64))
62 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))76 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into())))
63 }77 }
64 // Storage: EvmMigration MigrationPending (r:1 w:1)78 /// Storage: EvmMigration MigrationPending (r:1 w:1)
65 // Storage: EVM AccountCodes (r:0 w:1)79 /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
80 /// Storage: EVM AccountCodes (r:0 w:1)
81 /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
82 /// The range of component `b` is `[0, 80]`.
66 fn finish(b: u32, ) -> Weight {83 fn finish(b: u32, ) -> Weight {
84 // Proof Size summary in bytes:
85 // Measured: `96`
86 // Estimated: `2600`
87 // Minimum execution time: 7_719_000 picoseconds.
67 Weight::from_ref_time(9_832_338 as u64)88 Weight::from_parts(8_237_929, 2600)
68 // Standard Error: 35189 // Standard Error: 266
69 .saturating_add(Weight::from_ref_time(415 as u64).saturating_mul(b as u64))90 .saturating_add(Weight::from_parts(3_473, 0).saturating_mul(b.into()))
70 .saturating_add(T::DbWeight::get().reads(1 as u64))91 .saturating_add(T::DbWeight::get().reads(1_u64))
71 .saturating_add(T::DbWeight::get().writes(2 as u64))92 .saturating_add(T::DbWeight::get().writes(2_u64))
72 }93 }
94 /// The range of component `b` is `[0, 200]`.
73 fn insert_eth_logs(b: u32, ) -> Weight {95 fn insert_eth_logs(b: u32, ) -> Weight {
96 // Proof Size summary in bytes:
97 // Measured: `0`
98 // Estimated: `0`
99 // Minimum execution time: 1_193_000 picoseconds.
74 Weight::from_ref_time(7_589_210 as u64)100 Weight::from_parts(2_667_314, 0)
75 // Standard Error: 864101 // Standard Error: 583
76 .saturating_add(Weight::from_ref_time(688_444 as u64).saturating_mul(b as u64))102 .saturating_add(Weight::from_parts(690_704, 0).saturating_mul(b.into()))
77 }103 }
104 /// The range of component `b` is `[0, 200]`.
78 fn insert_events(b: u32, ) -> Weight {105 fn insert_events(b: u32, ) -> Weight {
106 // Proof Size summary in bytes:
107 // Measured: `0`
108 // Estimated: `0`
109 // Minimum execution time: 1_253_000 picoseconds.
79 Weight::from_ref_time(11_531_726 as u64)110 Weight::from_parts(4_685_069, 0)
80 // Standard Error: 580111 // Standard Error: 1_036
81 .saturating_add(Weight::from_ref_time(1_271_608 as u64).saturating_mul(b as u64))112 .saturating_add(Weight::from_parts(1_322_329, 0).saturating_mul(b.into()))
82 }113 }
83}114}
84115
85// For backwards compatibility and tests116// For backwards compatibility and tests
86impl WeightInfo for () {117impl WeightInfo for () {
87 // Storage: EvmMigration MigrationPending (r:1 w:1)118 /// Storage: EvmMigration MigrationPending (r:1 w:1)
88 // Storage: System Account (r:1 w:0)119 /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
89 // Storage: EVM AccountCodes (r:1 w:0)120 /// Storage: System Account (r:1 w:0)
121 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
122 /// Storage: EVM AccountCodes (r:1 w:0)
123 /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
90 fn begin() -> Weight {124 fn begin() -> Weight {
125 // Proof Size summary in bytes:
126 // Measured: `94`
127 // Estimated: `7676`
128 // Minimum execution time: 12_699_000 picoseconds.
91 Weight::from_ref_time(16_052_000 as u64)129 Weight::from_parts(12_989_000, 7676)
92 .saturating_add(RocksDbWeight::get().reads(3 as u64))130 .saturating_add(RocksDbWeight::get().reads(3_u64))
93 .saturating_add(RocksDbWeight::get().writes(1 as u64))131 .saturating_add(RocksDbWeight::get().writes(1_u64))
94 }132 }
95 // Storage: EvmMigration MigrationPending (r:1 w:0)133 /// Storage: EvmMigration MigrationPending (r:1 w:0)
96 // Storage: EVM AccountStorages (r:0 w:1)134 /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
135 /// Storage: EVM AccountStorages (r:0 w:80)
136 /// Proof Skipped: EVM AccountStorages (max_values: None, max_size: None, mode: Measured)
137 /// The range of component `b` is `[0, 80]`.
97 fn set_data(b: u32, ) -> Weight {138 fn set_data(b: u32, ) -> Weight {
139 // Proof Size summary in bytes:
140 // Measured: `96`
141 // Estimated: `2600`
142 // Minimum execution time: 9_157_000 picoseconds.
98 Weight::from_ref_time(9_257_564 as u64)143 Weight::from_parts(7_442_065, 2600)
99 // Standard Error: 1_384144 // Standard Error: 1_138
100 .saturating_add(Weight::from_ref_time(939_454 as u64).saturating_mul(b as u64))145 .saturating_add(Weight::from_parts(934_789, 0).saturating_mul(b.into()))
101 .saturating_add(RocksDbWeight::get().reads(1 as u64))146 .saturating_add(RocksDbWeight::get().reads(1_u64))
102 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))147 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into())))
103 }148 }
104 // Storage: EvmMigration MigrationPending (r:1 w:1)149 /// Storage: EvmMigration MigrationPending (r:1 w:1)
105 // Storage: EVM AccountCodes (r:0 w:1)150 /// Proof: EvmMigration MigrationPending (max_values: None, max_size: Some(29), added: 2504, mode: MaxEncodedLen)
151 /// Storage: EVM AccountCodes (r:0 w:1)
152 /// Proof Skipped: EVM AccountCodes (max_values: None, max_size: None, mode: Measured)
153 /// The range of component `b` is `[0, 80]`.
106 fn finish(b: u32, ) -> Weight {154 fn finish(b: u32, ) -> Weight {
155 // Proof Size summary in bytes:
156 // Measured: `96`
157 // Estimated: `2600`
158 // Minimum execution time: 7_719_000 picoseconds.
107 Weight::from_ref_time(9_832_338 as u64)159 Weight::from_parts(8_237_929, 2600)
108 // Standard Error: 351160 // Standard Error: 266
109 .saturating_add(Weight::from_ref_time(415 as u64).saturating_mul(b as u64))161 .saturating_add(Weight::from_parts(3_473, 0).saturating_mul(b.into()))
110 .saturating_add(RocksDbWeight::get().reads(1 as u64))162 .saturating_add(RocksDbWeight::get().reads(1_u64))
111 .saturating_add(RocksDbWeight::get().writes(2 as u64))163 .saturating_add(RocksDbWeight::get().writes(2_u64))
112 }164 }
165 /// The range of component `b` is `[0, 200]`.
113 fn insert_eth_logs(b: u32, ) -> Weight {166 fn insert_eth_logs(b: u32, ) -> Weight {
167 // Proof Size summary in bytes:
168 // Measured: `0`
169 // Estimated: `0`
170 // Minimum execution time: 1_193_000 picoseconds.
114 Weight::from_ref_time(7_589_210 as u64)171 Weight::from_parts(2_667_314, 0)
115 // Standard Error: 864172 // Standard Error: 583
116 .saturating_add(Weight::from_ref_time(688_444 as u64).saturating_mul(b as u64))173 .saturating_add(Weight::from_parts(690_704, 0).saturating_mul(b.into()))
117 }174 }
175 /// The range of component `b` is `[0, 200]`.
118 fn insert_events(b: u32, ) -> Weight {176 fn insert_events(b: u32, ) -> Weight {
177 // Proof Size summary in bytes:
178 // Measured: `0`
179 // Estimated: `0`
180 // Minimum execution time: 1_253_000 picoseconds.
119 Weight::from_ref_time(11_531_726 as u64)181 Weight::from_parts(4_685_069, 0)
120 // Standard Error: 580182 // Standard Error: 1_036
121 .saturating_add(Weight::from_ref_time(1_271_608 as u64).saturating_mul(b as u64))183 .saturating_add(Weight::from_parts(1_322_329, 0).saturating_mul(b.into()))
122 }184 }
123}185}
124186
modifiedpallets/foreign-assets/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_foreign_assets3//! Autogenerated weights for pallet_foreign_assets
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template
20// .maintain/frame-weight-template.hbs20// --template=.maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
41/// Weights for pallet_foreign_assets using the Substrate node and recommended hardware.41/// Weights for pallet_foreign_assets using the Substrate node and recommended hardware.
42pub struct SubstrateWeight<T>(PhantomData<T>);42pub struct SubstrateWeight<T>(PhantomData<T>);
43impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {43impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
44 // Storage: Common CreatedCollectionCount (r:1 w:1)44 /// Storage: Common CreatedCollectionCount (r:1 w:1)
45 /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
45 // Storage: Common DestroyedCollectionCount (r:1 w:0)46 /// Storage: Common DestroyedCollectionCount (r:1 w:0)
47 /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
46 // Storage: System Account (r:2 w:2)48 /// Storage: System Account (r:2 w:2)
49 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
47 // Storage: ForeignAssets NextForeignAssetId (r:1 w:1)50 /// Storage: ForeignAssets NextForeignAssetId (r:1 w:1)
51 /// Proof: ForeignAssets NextForeignAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
48 // Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)52 /// Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)
53 /// Proof: ForeignAssets LocationToCurrencyIds (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
49 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)54 /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
55 /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
50 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)56 /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
57 /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
51 // Storage: ForeignAssets AssetBinding (r:1 w:1)58 /// Storage: ForeignAssets AssetBinding (r:1 w:1)
59 /// Proof: ForeignAssets AssetBinding (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
52 // Storage: Common CollectionPropertyPermissions (r:0 w:1)60 /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
61 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
53 // Storage: Common CollectionProperties (r:0 w:1)62 /// Storage: Common CollectionProperties (r:0 w:1)
63 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
54 // Storage: Common CollectionById (r:0 w:1)64 /// Storage: Common CollectionById (r:0 w:1)
65 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
55 fn register_foreign_asset() -> Weight {66 fn register_foreign_asset() -> Weight {
67 // Proof Size summary in bytes:
68 // Measured: `318`
69 // Estimated: `17918`
70 // Minimum execution time: 45_521_000 picoseconds.
56 Weight::from_ref_time(49_269_000 as u64)71 Weight::from_parts(46_333_000, 17918)
57 .saturating_add(T::DbWeight::get().reads(9 as u64))72 .saturating_add(T::DbWeight::get().reads(9_u64))
58 .saturating_add(T::DbWeight::get().writes(11 as u64))73 .saturating_add(T::DbWeight::get().writes(11_u64))
59 }74 }
60 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)75 /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
61 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)76 /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
77 /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
78 /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
62 fn update_foreign_asset() -> Weight {79 fn update_foreign_asset() -> Weight {
80 // Proof Size summary in bytes:
81 // Measured: `197`
82 // Estimated: `5635`
83 // Minimum execution time: 13_542_000 picoseconds.
63 Weight::from_ref_time(21_973_000 as u64)84 Weight::from_parts(13_913_000, 5635)
64 .saturating_add(T::DbWeight::get().reads(2 as u64))85 .saturating_add(T::DbWeight::get().reads(2_u64))
65 .saturating_add(T::DbWeight::get().writes(2 as u64))86 .saturating_add(T::DbWeight::get().writes(2_u64))
66 }87 }
67}88}
6889
69// For backwards compatibility and tests90// For backwards compatibility and tests
70impl WeightInfo for () {91impl WeightInfo for () {
71 // Storage: Common CreatedCollectionCount (r:1 w:1)92 /// Storage: Common CreatedCollectionCount (r:1 w:1)
93 /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
72 // Storage: Common DestroyedCollectionCount (r:1 w:0)94 /// Storage: Common DestroyedCollectionCount (r:1 w:0)
95 /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
73 // Storage: System Account (r:2 w:2)96 /// Storage: System Account (r:2 w:2)
97 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
74 // Storage: ForeignAssets NextForeignAssetId (r:1 w:1)98 /// Storage: ForeignAssets NextForeignAssetId (r:1 w:1)
99 /// Proof: ForeignAssets NextForeignAssetId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
75 // Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)100 /// Storage: ForeignAssets LocationToCurrencyIds (r:1 w:1)
101 /// Proof: ForeignAssets LocationToCurrencyIds (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
76 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)102 /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
103 /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
77 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)104 /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
105 /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
78 // Storage: ForeignAssets AssetBinding (r:1 w:1)106 /// Storage: ForeignAssets AssetBinding (r:1 w:1)
107 /// Proof: ForeignAssets AssetBinding (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
79 // Storage: Common CollectionPropertyPermissions (r:0 w:1)108 /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
109 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
80 // Storage: Common CollectionProperties (r:0 w:1)110 /// Storage: Common CollectionProperties (r:0 w:1)
111 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
81 // Storage: Common CollectionById (r:0 w:1)112 /// Storage: Common CollectionById (r:0 w:1)
113 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
82 fn register_foreign_asset() -> Weight {114 fn register_foreign_asset() -> Weight {
115 // Proof Size summary in bytes:
116 // Measured: `318`
117 // Estimated: `17918`
118 // Minimum execution time: 45_521_000 picoseconds.
83 Weight::from_ref_time(49_269_000 as u64)119 Weight::from_parts(46_333_000, 17918)
84 .saturating_add(RocksDbWeight::get().reads(9 as u64))120 .saturating_add(RocksDbWeight::get().reads(9_u64))
85 .saturating_add(RocksDbWeight::get().writes(11 as u64))121 .saturating_add(RocksDbWeight::get().writes(11_u64))
86 }122 }
87 // Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)123 /// Storage: ForeignAssets ForeignAssetLocations (r:1 w:1)
88 // Storage: ForeignAssets AssetMetadatas (r:1 w:1)124 /// Proof: ForeignAssets ForeignAssetLocations (max_values: None, max_size: Some(614), added: 3089, mode: MaxEncodedLen)
125 /// Storage: ForeignAssets AssetMetadatas (r:1 w:1)
126 /// Proof: ForeignAssets AssetMetadatas (max_values: None, max_size: Some(71), added: 2546, mode: MaxEncodedLen)
89 fn update_foreign_asset() -> Weight {127 fn update_foreign_asset() -> Weight {
128 // Proof Size summary in bytes:
129 // Measured: `197`
130 // Estimated: `5635`
131 // Minimum execution time: 13_542_000 picoseconds.
90 Weight::from_ref_time(21_973_000 as u64)132 Weight::from_parts(13_913_000, 5635)
91 .saturating_add(RocksDbWeight::get().reads(2 as u64))133 .saturating_add(RocksDbWeight::get().reads(2_u64))
92 .saturating_add(RocksDbWeight::get().writes(2 as u64))134 .saturating_add(RocksDbWeight::get().writes(2_u64))
93 }135 }
94}136}
95137
modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_fungible3//! Autogenerated weights for pallet_fungible
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template
20// .maintain/frame-weight-template.hbs20// --template=.maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
47/// Weights for pallet_fungible using the Substrate node and recommended hardware.47/// Weights for pallet_fungible using the Substrate node and recommended hardware.
48pub struct SubstrateWeight<T>(PhantomData<T>);48pub struct SubstrateWeight<T>(PhantomData<T>);
49impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {49impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
50 // Storage: Fungible TotalSupply (r:1 w:1)50 /// Storage: Fungible TotalSupply (r:1 w:1)
51 // Storage: Fungible Balance (r:1 w:1)51 /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
52 /// Storage: Fungible Balance (r:1 w:1)
53 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
52 fn create_item() -> Weight {54 fn create_item() -> Weight {
55 // Proof Size summary in bytes:
56 // Measured: `42`
57 // Estimated: `5055`
58 // Minimum execution time: 10_152_000 picoseconds.
53 Weight::from_ref_time(19_423_000 as u64)59 Weight::from_parts(10_520_000, 5055)
54 .saturating_add(T::DbWeight::get().reads(2 as u64))60 .saturating_add(T::DbWeight::get().reads(2_u64))
55 .saturating_add(T::DbWeight::get().writes(2 as u64))61 .saturating_add(T::DbWeight::get().writes(2_u64))
56 }62 }
57 // Storage: Fungible TotalSupply (r:1 w:1)63 /// Storage: Fungible TotalSupply (r:1 w:1)
58 // Storage: Fungible Balance (r:4 w:4)64 /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
65 /// Storage: Fungible Balance (r:200 w:200)
66 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
67 /// The range of component `b` is `[0, 200]`.
59 fn create_multiple_items_ex(b: u32, ) -> Weight {68 fn create_multiple_items_ex(b: u32, ) -> Weight {
69 // Proof Size summary in bytes:
70 // Measured: `42`
71 // Estimated: `2503 + b * (2552 ±0)`
72 // Minimum execution time: 3_437_000 picoseconds.
60 Weight::from_ref_time(23_426_461 as u64)73 Weight::from_parts(13_322_752, 2503)
61 // Standard Error: 1_94274 // Standard Error: 1_728
75 .saturating_add(Weight::from_parts(3_605_522, 0).saturating_mul(b.into()))
62 .saturating_add(Weight::from_ref_time(3_459_389 as u64).saturating_mul(b as u64))76 .saturating_add(T::DbWeight::get().reads(1_u64))
63 .saturating_add(T::DbWeight::get().reads(1 as u64))77 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
64 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))78 .saturating_add(T::DbWeight::get().writes(1_u64))
65 .saturating_add(T::DbWeight::get().writes(1 as u64))79 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(b.into())))
66 .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64)))80 .saturating_add(Weight::from_parts(0, 2552).saturating_mul(b.into()))
67 }81 }
68 // Storage: Fungible TotalSupply (r:1 w:1)82 /// Storage: Fungible TotalSupply (r:1 w:1)
69 // Storage: Fungible Balance (r:1 w:1)83 /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
84 /// Storage: Fungible Balance (r:1 w:1)
85 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
70 fn burn_item() -> Weight {86 fn burn_item() -> Weight {
87 // Proof Size summary in bytes:
88 // Measured: `197`
89 // Estimated: `5055`
90 // Minimum execution time: 12_894_000 picoseconds.
71 Weight::from_ref_time(22_600_000 as u64)91 Weight::from_parts(13_347_000, 5055)
72 .saturating_add(T::DbWeight::get().reads(2 as u64))92 .saturating_add(T::DbWeight::get().reads(2_u64))
73 .saturating_add(T::DbWeight::get().writes(2 as u64))93 .saturating_add(T::DbWeight::get().writes(2_u64))
74 }94 }
75 // Storage: Fungible Balance (r:2 w:2)95 /// Storage: Fungible Balance (r:2 w:2)
96 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
76 fn transfer() -> Weight {97 fn transfer() -> Weight {
98 // Proof Size summary in bytes:
99 // Measured: `182`
100 // Estimated: `5104`
101 // Minimum execution time: 13_832_000 picoseconds.
77 Weight::from_ref_time(24_015_000 as u64)102 Weight::from_parts(14_064_000, 5104)
78 .saturating_add(T::DbWeight::get().reads(2 as u64))103 .saturating_add(T::DbWeight::get().reads(2_u64))
79 .saturating_add(T::DbWeight::get().writes(2 as u64))104 .saturating_add(T::DbWeight::get().writes(2_u64))
80 }105 }
81 // Storage: Fungible Balance (r:1 w:0)106 /// Storage: Fungible Balance (r:1 w:0)
82 // Storage: Fungible Allowance (r:0 w:1)107 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
108 /// Storage: Fungible Allowance (r:0 w:1)
109 /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
83 fn approve() -> Weight {110 fn approve() -> Weight {
111 // Proof Size summary in bytes:
112 // Measured: `182`
113 // Estimated: `2552`
114 // Minimum execution time: 12_417_000 picoseconds.
84 Weight::from_ref_time(22_478_000 as u64)115 Weight::from_parts(12_658_000, 2552)
85 .saturating_add(T::DbWeight::get().reads(1 as u64))116 .saturating_add(T::DbWeight::get().reads(1_u64))
86 .saturating_add(T::DbWeight::get().writes(1 as u64))117 .saturating_add(T::DbWeight::get().writes(1_u64))
87 }118 }
88 // Storage: Fungible Balance (r:1 w:0)119 /// Storage: Fungible Balance (r:1 w:0)
89 // Storage: Fungible Allowance (r:0 w:1)120 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
121 /// Storage: Fungible Allowance (r:0 w:1)
122 /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
90 fn approve_from() -> Weight {123 fn approve_from() -> Weight {
124 // Proof Size summary in bytes:
125 // Measured: `170`
126 // Estimated: `2552`
127 // Minimum execution time: 12_322_000 picoseconds.
91 Weight::from_ref_time(22_522_000 as u64)128 Weight::from_parts(12_629_000, 2552)
92 .saturating_add(T::DbWeight::get().reads(1 as u64))129 .saturating_add(T::DbWeight::get().reads(1_u64))
93 .saturating_add(T::DbWeight::get().writes(1 as u64))130 .saturating_add(T::DbWeight::get().writes(1_u64))
94 }131 }
95 // Storage: Fungible Allowance (r:1 w:1)132 /// Storage: Fungible Allowance (r:1 w:1)
96 // Storage: Fungible Balance (r:2 w:2)133 /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
134 /// Storage: Fungible Balance (r:2 w:2)
135 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
97 fn transfer_from() -> Weight {136 fn transfer_from() -> Weight {
137 // Proof Size summary in bytes:
138 // Measured: `300`
139 // Estimated: `7672`
140 // Minimum execution time: 21_667_000 picoseconds.
98 Weight::from_ref_time(32_061_000 as u64)141 Weight::from_parts(22_166_000, 7672)
99 .saturating_add(T::DbWeight::get().reads(3 as u64))142 .saturating_add(T::DbWeight::get().reads(3_u64))
100 .saturating_add(T::DbWeight::get().writes(3 as u64))143 .saturating_add(T::DbWeight::get().writes(3_u64))
101 }144 }
102 // Storage: Fungible Allowance (r:1 w:1)145 /// Storage: Fungible Allowance (r:1 w:1)
103 // Storage: Fungible TotalSupply (r:1 w:1)146 /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
104 // Storage: Fungible Balance (r:1 w:1)147 /// Storage: Fungible TotalSupply (r:1 w:1)
148 /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
149 /// Storage: Fungible Balance (r:1 w:1)
150 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
105 fn burn_from() -> Weight {151 fn burn_from() -> Weight {
152 // Proof Size summary in bytes:
153 // Measured: `315`
154 // Estimated: `7623`
155 // Minimum execution time: 21_271_000 picoseconds.
106 Weight::from_ref_time(32_115_000 as u64)156 Weight::from_parts(21_709_000, 7623)
107 .saturating_add(T::DbWeight::get().reads(3 as u64))157 .saturating_add(T::DbWeight::get().reads(3_u64))
108 .saturating_add(T::DbWeight::get().writes(3 as u64))158 .saturating_add(T::DbWeight::get().writes(3_u64))
109 }159 }
110}160}
111161
112// For backwards compatibility and tests162// For backwards compatibility and tests
113impl WeightInfo for () {163impl WeightInfo for () {
114 // Storage: Fungible TotalSupply (r:1 w:1)164 /// Storage: Fungible TotalSupply (r:1 w:1)
115 // Storage: Fungible Balance (r:1 w:1)165 /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
166 /// Storage: Fungible Balance (r:1 w:1)
167 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
116 fn create_item() -> Weight {168 fn create_item() -> Weight {
169 // Proof Size summary in bytes:
170 // Measured: `42`
171 // Estimated: `5055`
172 // Minimum execution time: 10_152_000 picoseconds.
117 Weight::from_ref_time(19_423_000 as u64)173 Weight::from_parts(10_520_000, 5055)
118 .saturating_add(RocksDbWeight::get().reads(2 as u64))174 .saturating_add(RocksDbWeight::get().reads(2_u64))
119 .saturating_add(RocksDbWeight::get().writes(2 as u64))175 .saturating_add(RocksDbWeight::get().writes(2_u64))
120 }176 }
121 // Storage: Fungible TotalSupply (r:1 w:1)177 /// Storage: Fungible TotalSupply (r:1 w:1)
122 // Storage: Fungible Balance (r:4 w:4)178 /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
179 /// Storage: Fungible Balance (r:200 w:200)
180 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
181 /// The range of component `b` is `[0, 200]`.
123 fn create_multiple_items_ex(b: u32, ) -> Weight {182 fn create_multiple_items_ex(b: u32, ) -> Weight {
183 // Proof Size summary in bytes:
184 // Measured: `42`
185 // Estimated: `2503 + b * (2552 ±0)`
186 // Minimum execution time: 3_437_000 picoseconds.
124 Weight::from_ref_time(23_426_461 as u64)187 Weight::from_parts(13_322_752, 2503)
125 // Standard Error: 1_942188 // Standard Error: 1_728
189 .saturating_add(Weight::from_parts(3_605_522, 0).saturating_mul(b.into()))
126 .saturating_add(Weight::from_ref_time(3_459_389 as u64).saturating_mul(b as u64))190 .saturating_add(RocksDbWeight::get().reads(1_u64))
127 .saturating_add(RocksDbWeight::get().reads(1 as u64))191 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
128 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))192 .saturating_add(RocksDbWeight::get().writes(1_u64))
129 .saturating_add(RocksDbWeight::get().writes(1 as u64))193 .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(b.into())))
130 .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(b as u64)))194 .saturating_add(Weight::from_parts(0, 2552).saturating_mul(b.into()))
131 }195 }
132 // Storage: Fungible TotalSupply (r:1 w:1)196 /// Storage: Fungible TotalSupply (r:1 w:1)
133 // Storage: Fungible Balance (r:1 w:1)197 /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
198 /// Storage: Fungible Balance (r:1 w:1)
199 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
134 fn burn_item() -> Weight {200 fn burn_item() -> Weight {
201 // Proof Size summary in bytes:
202 // Measured: `197`
203 // Estimated: `5055`
204 // Minimum execution time: 12_894_000 picoseconds.
135 Weight::from_ref_time(22_600_000 as u64)205 Weight::from_parts(13_347_000, 5055)
136 .saturating_add(RocksDbWeight::get().reads(2 as u64))206 .saturating_add(RocksDbWeight::get().reads(2_u64))
137 .saturating_add(RocksDbWeight::get().writes(2 as u64))207 .saturating_add(RocksDbWeight::get().writes(2_u64))
138 }208 }
139 // Storage: Fungible Balance (r:2 w:2)209 /// Storage: Fungible Balance (r:2 w:2)
210 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
140 fn transfer() -> Weight {211 fn transfer() -> Weight {
212 // Proof Size summary in bytes:
213 // Measured: `182`
214 // Estimated: `5104`
215 // Minimum execution time: 13_832_000 picoseconds.
141 Weight::from_ref_time(24_015_000 as u64)216 Weight::from_parts(14_064_000, 5104)
142 .saturating_add(RocksDbWeight::get().reads(2 as u64))217 .saturating_add(RocksDbWeight::get().reads(2_u64))
143 .saturating_add(RocksDbWeight::get().writes(2 as u64))218 .saturating_add(RocksDbWeight::get().writes(2_u64))
144 }219 }
145 // Storage: Fungible Balance (r:1 w:0)220 /// Storage: Fungible Balance (r:1 w:0)
146 // Storage: Fungible Allowance (r:0 w:1)221 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
222 /// Storage: Fungible Allowance (r:0 w:1)
223 /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
147 fn approve() -> Weight {224 fn approve() -> Weight {
225 // Proof Size summary in bytes:
226 // Measured: `182`
227 // Estimated: `2552`
228 // Minimum execution time: 12_417_000 picoseconds.
148 Weight::from_ref_time(22_478_000 as u64)229 Weight::from_parts(12_658_000, 2552)
149 .saturating_add(RocksDbWeight::get().reads(1 as u64))230 .saturating_add(RocksDbWeight::get().reads(1_u64))
150 .saturating_add(RocksDbWeight::get().writes(1 as u64))231 .saturating_add(RocksDbWeight::get().writes(1_u64))
151 }232 }
152 // Storage: Fungible Balance (r:1 w:0)233 /// Storage: Fungible Balance (r:1 w:0)
153 // Storage: Fungible Allowance (r:0 w:1)234 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
235 /// Storage: Fungible Allowance (r:0 w:1)
236 /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
154 fn approve_from() -> Weight {237 fn approve_from() -> Weight {
238 // Proof Size summary in bytes:
239 // Measured: `170`
240 // Estimated: `2552`
241 // Minimum execution time: 12_322_000 picoseconds.
155 Weight::from_ref_time(22_522_000 as u64)242 Weight::from_parts(12_629_000, 2552)
156 .saturating_add(RocksDbWeight::get().reads(1 as u64))243 .saturating_add(RocksDbWeight::get().reads(1_u64))
157 .saturating_add(RocksDbWeight::get().writes(1 as u64))244 .saturating_add(RocksDbWeight::get().writes(1_u64))
158 }245 }
159 // Storage: Fungible Allowance (r:1 w:1)246 /// Storage: Fungible Allowance (r:1 w:1)
160 // Storage: Fungible Balance (r:2 w:2)247 /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
248 /// Storage: Fungible Balance (r:2 w:2)
249 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
161 fn transfer_from() -> Weight {250 fn transfer_from() -> Weight {
251 // Proof Size summary in bytes:
252 // Measured: `300`
253 // Estimated: `7672`
254 // Minimum execution time: 21_667_000 picoseconds.
162 Weight::from_ref_time(32_061_000 as u64)255 Weight::from_parts(22_166_000, 7672)
163 .saturating_add(RocksDbWeight::get().reads(3 as u64))256 .saturating_add(RocksDbWeight::get().reads(3_u64))
164 .saturating_add(RocksDbWeight::get().writes(3 as u64))257 .saturating_add(RocksDbWeight::get().writes(3_u64))
165 }258 }
166 // Storage: Fungible Allowance (r:1 w:1)259 /// Storage: Fungible Allowance (r:1 w:1)
167 // Storage: Fungible TotalSupply (r:1 w:1)260 /// Proof: Fungible Allowance (max_values: None, max_size: Some(93), added: 2568, mode: MaxEncodedLen)
168 // Storage: Fungible Balance (r:1 w:1)261 /// Storage: Fungible TotalSupply (r:1 w:1)
262 /// Proof: Fungible TotalSupply (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen)
263 /// Storage: Fungible Balance (r:1 w:1)
264 /// Proof: Fungible Balance (max_values: None, max_size: Some(77), added: 2552, mode: MaxEncodedLen)
169 fn burn_from() -> Weight {265 fn burn_from() -> Weight {
266 // Proof Size summary in bytes:
267 // Measured: `315`
268 // Estimated: `7623`
269 // Minimum execution time: 21_271_000 picoseconds.
170 Weight::from_ref_time(32_115_000 as u64)270 Weight::from_parts(21_709_000, 7623)
171 .saturating_add(RocksDbWeight::get().reads(3 as u64))271 .saturating_add(RocksDbWeight::get().reads(3_u64))
172 .saturating_add(RocksDbWeight::get().writes(3 as u64))272 .saturating_add(RocksDbWeight::get().writes(3_u64))
173 }273 }
174}274}
175275
modifiedpallets/maintenance/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_maintenance3//! Autogenerated weights for pallet_maintenance
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-22, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template
20// .maintain/frame-weight-template.hbs20// --template=.maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
42/// Weights for pallet_maintenance using the Substrate node and recommended hardware.42/// Weights for pallet_maintenance using the Substrate node and recommended hardware.
43pub struct SubstrateWeight<T>(PhantomData<T>);43pub struct SubstrateWeight<T>(PhantomData<T>);
44impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {44impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
45 // Storage: Maintenance Enabled (r:0 w:1)45 /// Storage: Maintenance Enabled (r:0 w:1)
46 /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
46 fn enable() -> Weight {47 fn enable() -> Weight {
48 // Proof Size summary in bytes:
49 // Measured: `0`
50 // Estimated: `0`
51 // Minimum execution time: 4_721_000 picoseconds.
47 Weight::from_ref_time(12_866_000 as u64)52 Weight::from_parts(4_918_000, 0)
48 .saturating_add(T::DbWeight::get().writes(1 as u64))53 .saturating_add(T::DbWeight::get().writes(1_u64))
49 }54 }
50 // Storage: Maintenance Enabled (r:0 w:1)55 /// Storage: Maintenance Enabled (r:0 w:1)
56 /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
51 fn disable() -> Weight {57 fn disable() -> Weight {
58 // Proof Size summary in bytes:
59 // Measured: `0`
60 // Estimated: `0`
61 // Minimum execution time: 4_795_000 picoseconds.
52 Weight::from_ref_time(12_777_000 as u64)62 Weight::from_parts(5_006_000, 0)
53 .saturating_add(T::DbWeight::get().writes(1 as u64))63 .saturating_add(T::DbWeight::get().writes(1_u64))
54 }64 }
55 // Storage: Preimage StatusFor (r:1 w:0)65 /// Storage: Preimage StatusFor (r:1 w:0)
56 // Storage: Preimage PreimageFor (r:1 w:0)66 /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
67 /// Storage: Preimage PreimageFor (r:1 w:0)
68 /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
57 fn execute_preimage() -> Weight {69 fn execute_preimage() -> Weight {
70 // Proof Size summary in bytes:
71 // Measured: `209`
72 // Estimated: `4199385`
73 // Minimum execution time: 11_496_000 picoseconds.
58 Weight::from_ref_time(12_228_000 as u64)74 Weight::from_parts(11_719_000, 4199385)
59 .saturating_add(T::DbWeight::get().reads(2 as u64))75 .saturating_add(T::DbWeight::get().reads(2_u64))
60 }76 }
61}77}
6278
63// For backwards compatibility and tests79// For backwards compatibility and tests
64impl WeightInfo for () {80impl WeightInfo for () {
65 // Storage: Maintenance Enabled (r:0 w:1)81 /// Storage: Maintenance Enabled (r:0 w:1)
82 /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
66 fn enable() -> Weight {83 fn enable() -> Weight {
84 // Proof Size summary in bytes:
85 // Measured: `0`
86 // Estimated: `0`
87 // Minimum execution time: 4_721_000 picoseconds.
67 Weight::from_ref_time(12_866_000 as u64)88 Weight::from_parts(4_918_000, 0)
68 .saturating_add(RocksDbWeight::get().writes(1 as u64))89 .saturating_add(RocksDbWeight::get().writes(1_u64))
69 }90 }
70 // Storage: Maintenance Enabled (r:0 w:1)91 /// Storage: Maintenance Enabled (r:0 w:1)
92 /// Proof: Maintenance Enabled (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)
71 fn disable() -> Weight {93 fn disable() -> Weight {
94 // Proof Size summary in bytes:
95 // Measured: `0`
96 // Estimated: `0`
97 // Minimum execution time: 4_795_000 picoseconds.
72 Weight::from_ref_time(12_777_000 as u64)98 Weight::from_parts(5_006_000, 0)
73 .saturating_add(RocksDbWeight::get().writes(1 as u64))99 .saturating_add(RocksDbWeight::get().writes(1_u64))
74 }100 }
75 // Storage: Preimage StatusFor (r:1 w:0)101 /// Storage: Preimage StatusFor (r:1 w:0)
76 // Storage: Preimage PreimageFor (r:1 w:0)102 /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
103 /// Storage: Preimage PreimageFor (r:1 w:0)
104 /// Proof: Preimage PreimageFor (max_values: None, max_size: Some(4194344), added: 4196819, mode: MaxEncodedLen)
77 fn execute_preimage() -> Weight {105 fn execute_preimage() -> Weight {
106 // Proof Size summary in bytes:
107 // Measured: `209`
108 // Estimated: `4199385`
109 // Minimum execution time: 11_496_000 picoseconds.
78 Weight::from_ref_time(12_228_000 as u64)110 Weight::from_parts(11_719_000, 4199385)
79 .saturating_add(RocksDbWeight::get().reads(2 as u64))111 .saturating_add(RocksDbWeight::get().reads(2_u64))
80 }112 }
81}113}
82114
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_nonfungible3//! Autogenerated weights for pallet_nonfungible
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template20// --template=.maintain/frame-weight-template.hbs
20// .maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
57/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.57/// Weights for pallet_nonfungible using the Substrate node and recommended hardware.
58pub struct SubstrateWeight<T>(PhantomData<T>);58pub struct SubstrateWeight<T>(PhantomData<T>);
59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {59impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
60 // Storage: Nonfungible TokensMinted (r:1 w:1)60 /// Storage: Nonfungible TokensMinted (r:1 w:1)
61 // Storage: Nonfungible AccountBalance (r:1 w:1)61 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
62 /// Storage: Nonfungible AccountBalance (r:1 w:1)
62 // Storage: Nonfungible TokenProperties (r:1 w:1)63 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
64 /// Storage: Nonfungible TokenProperties (r:1 w:1)
63 // Storage: Common CollectionPropertyPermissions (r:1 w:0)65 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
66 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
64 // Storage: Nonfungible TokenData (r:0 w:1)67 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
68 /// Storage: Nonfungible TokenData (r:0 w:1)
65 // Storage: Nonfungible Owned (r:0 w:1)69 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
70 /// Storage: Nonfungible Owned (r:0 w:1)
71 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
66 fn create_item() -> Weight {72 fn create_item() -> Weight {
67 Weight::from_ref_time(35_333_000 as u64)73 // Proof Size summary in bytes:
74 // Measured: `390`
75 // Estimated: `59511`
76 // Minimum execution time: 23_081_000 picoseconds.
77 Weight::from_parts(23_551_000, 59511)
68 .saturating_add(T::DbWeight::get().reads(4 as u64))78 .saturating_add(T::DbWeight::get().reads(4_u64))
69 .saturating_add(T::DbWeight::get().writes(5 as u64))79 .saturating_add(T::DbWeight::get().writes(5_u64))
70 }80 }
71 // Storage: Nonfungible TokensMinted (r:1 w:1)81 /// Storage: Nonfungible TokensMinted (r:1 w:1)
72 // Storage: Nonfungible AccountBalance (r:1 w:1)82 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
83 /// Storage: Nonfungible AccountBalance (r:1 w:1)
73 // Storage: Nonfungible TokenProperties (r:4 w:4)84 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
85 /// Storage: Nonfungible TokenProperties (r:200 w:200)
74 // Storage: Common CollectionPropertyPermissions (r:1 w:0)86 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
87 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
75 // Storage: Nonfungible TokenData (r:0 w:4)88 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
89 /// Storage: Nonfungible TokenData (r:0 w:200)
76 // Storage: Nonfungible Owned (r:0 w:4)90 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
91 /// Storage: Nonfungible Owned (r:0 w:200)
92 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
93 /// The range of component `b` is `[0, 200]`.
77 fn create_multiple_items(b: u32, ) -> Weight {94 fn create_multiple_items(b: u32, ) -> Weight {
78 Weight::from_ref_time(19_091_371 as u64)95 // Proof Size summary in bytes:
96 // Measured: `390`
97 // Estimated: `24232 + b * (35279 ±0)`
98 // Minimum execution time: 4_557_000 picoseconds.
99 Weight::from_parts(5_994_058, 24232)
79 // Standard Error: 3_221100 // Standard Error: 4_326
80 .saturating_add(Weight::from_ref_time(7_304_849 as u64).saturating_mul(b as u64))101 .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))
81 .saturating_add(T::DbWeight::get().reads(3 as u64))102 .saturating_add(T::DbWeight::get().reads(3_u64))
82 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))103 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
83 .saturating_add(T::DbWeight::get().writes(2 as u64))104 .saturating_add(T::DbWeight::get().writes(2_u64))
84 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))105 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
106 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))
85 }107 }
86 // Storage: Nonfungible TokensMinted (r:1 w:1)108 /// Storage: Nonfungible TokensMinted (r:1 w:1)
87 // Storage: Nonfungible AccountBalance (r:4 w:4)109 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
110 /// Storage: Nonfungible AccountBalance (r:200 w:200)
88 // Storage: Nonfungible TokenProperties (r:4 w:4)111 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
112 /// Storage: Nonfungible TokenProperties (r:200 w:200)
89 // Storage: Common CollectionPropertyPermissions (r:1 w:0)113 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
114 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
90 // Storage: Nonfungible TokenData (r:0 w:4)115 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
116 /// Storage: Nonfungible TokenData (r:0 w:200)
91 // Storage: Nonfungible Owned (r:0 w:4)117 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
118 /// Storage: Nonfungible Owned (r:0 w:200)
119 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
120 /// The range of component `b` is `[0, 200]`.
92 fn create_multiple_items_ex(b: u32, ) -> Weight {121 fn create_multiple_items_ex(b: u32, ) -> Weight {
93 Weight::from_ref_time(12_655_339 as u64)122 // Proof Size summary in bytes:
123 // Measured: `390`
124 // Estimated: `21692 + b * (37819 ±0)`
125 // Minimum execution time: 4_533_000 picoseconds.
126 Weight::from_parts(2_822_660, 21692)
94 // Standard Error: 3_655127 // Standard Error: 3_650
95 .saturating_add(Weight::from_ref_time(9_051_919 as u64).saturating_mul(b as u64))128 .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))
96 .saturating_add(T::DbWeight::get().reads(2 as u64))129 .saturating_add(T::DbWeight::get().reads(2_u64))
97 .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))130 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
98 .saturating_add(T::DbWeight::get().writes(1 as u64))131 .saturating_add(T::DbWeight::get().writes(1_u64))
99 .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))132 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))
133 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))
100 }134 }
101 // Storage: Nonfungible TokenData (r:1 w:1)135 /// Storage: Nonfungible TokenData (r:1 w:1)
102 // Storage: Nonfungible TokenChildren (r:1 w:0)136 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
137 /// Storage: Nonfungible TokenChildren (r:1 w:0)
103 // Storage: Nonfungible TokensBurnt (r:1 w:1)138 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
139 /// Storage: Nonfungible TokensBurnt (r:1 w:1)
104 // Storage: Nonfungible AccountBalance (r:1 w:1)140 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
141 /// Storage: Nonfungible AccountBalance (r:1 w:1)
105 // Storage: Nonfungible Allowance (r:1 w:0)142 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
143 /// Storage: Nonfungible Allowance (r:1 w:0)
106 // Storage: Nonfungible Owned (r:0 w:1)144 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
145 /// Storage: Nonfungible Owned (r:0 w:1)
107 // Storage: Nonfungible TokenProperties (r:0 w:1)146 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
147 /// Storage: Nonfungible TokenProperties (r:0 w:1)
148 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
108 fn burn_item() -> Weight {149 fn burn_item() -> Weight {
109 Weight::from_ref_time(34_068_000 as u64)150 // Proof Size summary in bytes:
151 // Measured: `412`
152 // Estimated: `12611`
153 // Minimum execution time: 23_528_000 picoseconds.
154 Weight::from_parts(24_680_000, 12611)
110 .saturating_add(T::DbWeight::get().reads(5 as u64))155 .saturating_add(T::DbWeight::get().reads(5_u64))
111 .saturating_add(T::DbWeight::get().writes(5 as u64))156 .saturating_add(T::DbWeight::get().writes(5_u64))
112 }157 }
113 // Storage: Nonfungible TokenChildren (r:1 w:0)158 /// Storage: Nonfungible TokenChildren (r:1 w:0)
114 // Storage: Nonfungible TokenData (r:1 w:1)159 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
160 /// Storage: Nonfungible TokenData (r:1 w:1)
115 // Storage: Nonfungible TokensBurnt (r:1 w:1)161 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
162 /// Storage: Nonfungible TokensBurnt (r:1 w:1)
116 // Storage: Nonfungible AccountBalance (r:1 w:1)163 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
164 /// Storage: Nonfungible AccountBalance (r:1 w:1)
117 // Storage: Nonfungible Allowance (r:1 w:0)165 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
166 /// Storage: Nonfungible Allowance (r:1 w:0)
118 // Storage: Nonfungible Owned (r:0 w:1)167 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
168 /// Storage: Nonfungible Owned (r:0 w:1)
119 // Storage: Nonfungible TokenProperties (r:0 w:1)169 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
170 /// Storage: Nonfungible TokenProperties (r:0 w:1)
171 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
120 fn burn_recursively_self_raw() -> Weight {172 fn burn_recursively_self_raw() -> Weight {
121 Weight::from_ref_time(44_840_000 as u64)173 // Proof Size summary in bytes:
174 // Measured: `412`
175 // Estimated: `12611`
176 // Minimum execution time: 29_770_000 picoseconds.
177 Weight::from_parts(30_114_000, 12611)
122 .saturating_add(T::DbWeight::get().reads(5 as u64))178 .saturating_add(T::DbWeight::get().reads(5_u64))
123 .saturating_add(T::DbWeight::get().writes(5 as u64))179 .saturating_add(T::DbWeight::get().writes(5_u64))
124 }180 }
125 // Storage: Nonfungible TokenChildren (r:1 w:0)181 /// Storage: Nonfungible TokenChildren (r:401 w:200)
182 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
183 /// Storage: Common CollectionById (r:1 w:0)
126 // Storage: Nonfungible TokenData (r:1 w:1)184 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
185 /// Storage: Nonfungible TokenData (r:201 w:201)
127 // Storage: Nonfungible TokensBurnt (r:1 w:1)186 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
187 /// Storage: Nonfungible TokensBurnt (r:1 w:1)
128 // Storage: Nonfungible AccountBalance (r:1 w:1)188 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
189 /// Storage: Nonfungible AccountBalance (r:2 w:2)
129 // Storage: Nonfungible Allowance (r:1 w:0)190 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
191 /// Storage: Nonfungible Allowance (r:201 w:0)
130 // Storage: Nonfungible Owned (r:0 w:1)192 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
193 /// Storage: Nonfungible Owned (r:0 w:201)
131 // Storage: Nonfungible TokenProperties (r:0 w:1)194 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
195 /// Storage: Nonfungible TokenProperties (r:0 w:201)
132 // Storage: Common CollectionById (r:1 w:0)196 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
197 /// The range of component `b` is `[0, 200]`.
133 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {198 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
134 Weight::from_ref_time(44_567_000 as u64)199 // Proof Size summary in bytes:
200 // Measured: `1530 + b * (58 ±0)`
201 // Estimated: `18290 + b * (10097 ±0)`
135 // Standard Error: 1_014_743202 // Minimum execution time: 31_413_000 picoseconds.
203 Weight::from_parts(31_865_000, 18290)
204 // Standard Error: 980_032
136 .saturating_add(Weight::from_ref_time(209_619_240 as u64).saturating_mul(b as u64))205 .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))
137 .saturating_add(T::DbWeight::get().reads(7 as u64))206 .saturating_add(T::DbWeight::get().reads(7_u64))
138 .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(b as u64)))207 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))
139 .saturating_add(T::DbWeight::get().writes(6 as u64))208 .saturating_add(T::DbWeight::get().writes(6_u64))
140 .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))209 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))
210 .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))
141 }211 }
142 // Storage: Nonfungible TokenData (r:1 w:1)212 /// Storage: Nonfungible TokenData (r:1 w:1)
143 // Storage: Nonfungible AccountBalance (r:2 w:2)213 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
214 /// Storage: Nonfungible AccountBalance (r:2 w:2)
144 // Storage: Nonfungible Allowance (r:1 w:0)215 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
216 /// Storage: Nonfungible Allowance (r:1 w:0)
145 // Storage: Nonfungible Owned (r:0 w:2)217 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
218 /// Storage: Nonfungible Owned (r:0 w:2)
219 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
146 fn transfer() -> Weight {220 fn transfer() -> Weight {
147 Weight::from_ref_time(29_508_000 as u64)221 // Proof Size summary in bytes:
222 // Measured: `412`
223 // Estimated: `10144`
224 // Minimum execution time: 18_629_000 picoseconds.
225 Weight::from_parts(18_997_000, 10144)
148 .saturating_add(T::DbWeight::get().reads(4 as u64))226 .saturating_add(T::DbWeight::get().reads(4_u64))
149 .saturating_add(T::DbWeight::get().writes(5 as u64))227 .saturating_add(T::DbWeight::get().writes(5_u64))
150 }228 }
151 // Storage: Nonfungible TokenData (r:1 w:0)229 /// Storage: Nonfungible TokenData (r:1 w:0)
152 // Storage: Nonfungible Allowance (r:1 w:1)230 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
231 /// Storage: Nonfungible Allowance (r:1 w:1)
232 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
153 fn approve() -> Weight {233 fn approve() -> Weight {
154 Weight::from_ref_time(22_168_000 as u64)234 // Proof Size summary in bytes:
235 // Measured: `358`
236 // Estimated: `5064`
237 // Minimum execution time: 11_507_000 picoseconds.
238 Weight::from_parts(11_771_000, 5064)
155 .saturating_add(T::DbWeight::get().reads(2 as u64))239 .saturating_add(T::DbWeight::get().reads(2_u64))
156 .saturating_add(T::DbWeight::get().writes(1 as u64))240 .saturating_add(T::DbWeight::get().writes(1_u64))
157 }241 }
158 // Storage: Nonfungible TokenData (r:1 w:0)242 /// Storage: Nonfungible TokenData (r:1 w:0)
159 // Storage: Nonfungible Allowance (r:1 w:1)243 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
244 /// Storage: Nonfungible Allowance (r:1 w:1)
245 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
160 fn approve_from() -> Weight {246 fn approve_from() -> Weight {
161 Weight::from_ref_time(22_063_000 as u64)247 // Proof Size summary in bytes:
248 // Measured: `313`
249 // Estimated: `5064`
250 // Minimum execution time: 11_558_000 picoseconds.
251 Weight::from_parts(11_789_000, 5064)
162 .saturating_add(T::DbWeight::get().reads(2 as u64))252 .saturating_add(T::DbWeight::get().reads(2_u64))
163 .saturating_add(T::DbWeight::get().writes(1 as u64))253 .saturating_add(T::DbWeight::get().writes(1_u64))
164 }254 }
165 // Storage: Nonfungible Allowance (r:1 w:1)255 /// Storage: Nonfungible Allowance (r:1 w:1)
166 // Storage: Nonfungible TokenData (r:1 w:1)256 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
257 /// Storage: Nonfungible TokenData (r:1 w:1)
167 // Storage: Nonfungible AccountBalance (r:2 w:2)258 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
259 /// Storage: Nonfungible AccountBalance (r:2 w:2)
168 // Storage: Nonfungible Owned (r:0 w:2)260 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
261 /// Storage: Nonfungible Owned (r:0 w:2)
262 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
169 fn transfer_from() -> Weight {263 fn transfer_from() -> Weight {
170 Weight::from_ref_time(36_386_000 as u64)264 // Proof Size summary in bytes:
265 // Measured: `527`
266 // Estimated: `10144`
267 // Minimum execution time: 24_919_000 picoseconds.
268 Weight::from_parts(25_333_000, 10144)
171 .saturating_add(T::DbWeight::get().reads(4 as u64))269 .saturating_add(T::DbWeight::get().reads(4_u64))
172 .saturating_add(T::DbWeight::get().writes(6 as u64))270 .saturating_add(T::DbWeight::get().writes(6_u64))
173 }271 }
174 // Storage: Nonfungible Allowance (r:1 w:1)272 /// Storage: Nonfungible Allowance (r:1 w:1)
175 // Storage: Nonfungible TokenData (r:1 w:1)273 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
274 /// Storage: Nonfungible TokenData (r:1 w:1)
176 // Storage: Nonfungible TokenChildren (r:1 w:0)275 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
276 /// Storage: Nonfungible TokenChildren (r:1 w:0)
177 // Storage: Nonfungible TokensBurnt (r:1 w:1)277 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
278 /// Storage: Nonfungible TokensBurnt (r:1 w:1)
178 // Storage: Nonfungible AccountBalance (r:1 w:1)279 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
280 /// Storage: Nonfungible AccountBalance (r:1 w:1)
179 // Storage: Nonfungible Owned (r:0 w:1)281 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
282 /// Storage: Nonfungible Owned (r:0 w:1)
180 // Storage: Nonfungible TokenProperties (r:0 w:1)283 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
284 /// Storage: Nonfungible TokenProperties (r:0 w:1)
285 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
181 fn burn_from() -> Weight {286 fn burn_from() -> Weight {
182 Weight::from_ref_time(42_499_000 as u64)287 // Proof Size summary in bytes:
288 // Measured: `527`
289 // Estimated: `12611`
290 // Minimum execution time: 30_713_000 picoseconds.
291 Weight::from_parts(31_160_000, 12611)
183 .saturating_add(T::DbWeight::get().reads(5 as u64))292 .saturating_add(T::DbWeight::get().reads(5_u64))
184 .saturating_add(T::DbWeight::get().writes(6 as u64))293 .saturating_add(T::DbWeight::get().writes(6_u64))
185 }294 }
186 // Storage: Common CollectionPropertyPermissions (r:1 w:1)295 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)
296 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
297 /// The range of component `b` is `[0, 64]`.
187 fn set_token_property_permissions(b: u32, ) -> Weight {298 fn set_token_property_permissions(b: u32, ) -> Weight {
188 Weight::from_ref_time(5_317_000 as u64)299 // Proof Size summary in bytes:
300 // Measured: `281`
301 // Estimated: `19201`
302 // Minimum execution time: 2_360_000 picoseconds.
303 Weight::from_parts(2_396_000, 19201)
189 // Standard Error: 42_045304 // Standard Error: 43_257
190 .saturating_add(Weight::from_ref_time(12_179_871 as u64).saturating_mul(b as u64))305 .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))
191 .saturating_add(T::DbWeight::get().reads(1 as u64))306 .saturating_add(T::DbWeight::get().reads(1_u64))
192 .saturating_add(T::DbWeight::get().writes(1 as u64))307 .saturating_add(T::DbWeight::get().writes(1_u64))
193 }308 }
194 // Storage: Nonfungible TokenProperties (r:1 w:1)309 /// Storage: Nonfungible TokenProperties (r:1 w:1)
195 // Storage: Common CollectionPropertyPermissions (r:1 w:0)310 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
311 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
312 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
313 /// The range of component `b` is `[0, 64]`.
196 fn set_token_properties(b: u32, ) -> Weight {314 fn set_token_properties(b: u32, ) -> Weight {
197 Weight::from_ref_time(15_428_000 as u64)315 // Proof Size summary in bytes:
316 // Measured: `616 + b * (261 ±0)`
317 // Estimated: `54480`
318 // Minimum execution time: 12_543_000 picoseconds.
319 Weight::from_parts(12_686_000, 54480)
198 // Standard Error: 58_002320 // Standard Error: 52_286
199 .saturating_add(Weight::from_ref_time(7_195_842 as u64).saturating_mul(b as u64))321 .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))
200 .saturating_add(T::DbWeight::get().reads(2 as u64))322 .saturating_add(T::DbWeight::get().reads(2_u64))
201 .saturating_add(T::DbWeight::get().writes(1 as u64))323 .saturating_add(T::DbWeight::get().writes(1_u64))
202 }324 }
203 // Storage: Nonfungible TokenProperties (r:1 w:1)325 /// Storage: Nonfungible TokenProperties (r:1 w:1)
204 // Storage: Common CollectionPropertyPermissions (r:1 w:0)326 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
327 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
328 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
329 /// The range of component `b` is `[0, 64]`.
205 fn delete_token_properties(b: u32, ) -> Weight {330 fn delete_token_properties(b: u32, ) -> Weight {
206 Weight::from_ref_time(15_498_000 as u64)331 // Proof Size summary in bytes:
332 // Measured: `653 + b * (33291 ±0)`
333 // Estimated: `54480`
334 // Minimum execution time: 12_352_000 picoseconds.
335 Weight::from_parts(12_523_000, 54480)
207 // Standard Error: 68_276336 // Standard Error: 70_401
208 .saturating_add(Weight::from_ref_time(22_441_281 as u64).saturating_mul(b as u64))337 .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))
209 .saturating_add(T::DbWeight::get().reads(2 as u64))338 .saturating_add(T::DbWeight::get().reads(2_u64))
210 .saturating_add(T::DbWeight::get().writes(1 as u64))339 .saturating_add(T::DbWeight::get().writes(1_u64))
211 }340 }
212 // Storage: Nonfungible TokenData (r:1 w:0)341 /// Storage: Nonfungible TokenData (r:1 w:0)
342 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
213 fn token_owner() -> Weight {343 fn token_owner() -> Weight {
214 Weight::from_ref_time(7_006_000 as u64)344 // Proof Size summary in bytes:
345 // Measured: `358`
346 // Estimated: `2532`
347 // Minimum execution time: 4_797_000 picoseconds.
348 Weight::from_parts(5_499_000, 2532)
215 .saturating_add(T::DbWeight::get().reads(1 as u64))349 .saturating_add(T::DbWeight::get().reads(1_u64))
216 }350 }
217 // Storage: Nonfungible CollectionAllowance (r:0 w:1)351 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)
352 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
218 fn set_allowance_for_all() -> Weight {353 fn set_allowance_for_all() -> Weight {
219 Weight::from_ref_time(16_761_000 as u64)354 // Proof Size summary in bytes:
355 // Measured: `0`
356 // Estimated: `0`
357 // Minimum execution time: 6_303_000 picoseconds.
358 Weight::from_parts(6_712_000, 0)
220 .saturating_add(T::DbWeight::get().writes(1 as u64))359 .saturating_add(T::DbWeight::get().writes(1_u64))
221 }360 }
222 // Storage: Nonfungible CollectionAllowance (r:1 w:0)361 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)
362 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
223 fn allowance_for_all() -> Weight {363 fn allowance_for_all() -> Weight {
224 Weight::from_ref_time(5_577_000 as u64)364 // Proof Size summary in bytes:
365 // Measured: `109`
366 // Estimated: `2586`
367 // Minimum execution time: 3_798_000 picoseconds.
368 Weight::from_parts(4_017_000, 2586)
225 .saturating_add(T::DbWeight::get().reads(1 as u64))369 .saturating_add(T::DbWeight::get().reads(1_u64))
226 }370 }
227 // Storage: Nonfungible TokenProperties (r:1 w:1)371 /// Storage: Nonfungible TokenProperties (r:1 w:1)
372 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
228 fn repair_item() -> Weight {373 fn repair_item() -> Weight {
229 Weight::from_ref_time(7_670_000 as u64)374 // Proof Size summary in bytes:
375 // Measured: `300`
376 // Estimated: `35279`
377 // Minimum execution time: 5_531_000 picoseconds.
378 Weight::from_parts(5_750_000, 35279)
230 .saturating_add(T::DbWeight::get().reads(1 as u64))379 .saturating_add(T::DbWeight::get().reads(1_u64))
231 .saturating_add(T::DbWeight::get().writes(1 as u64))380 .saturating_add(T::DbWeight::get().writes(1_u64))
232 }381 }
233}382}
234383
235// For backwards compatibility and tests384// For backwards compatibility and tests
236impl WeightInfo for () {385impl WeightInfo for () {
237 // Storage: Nonfungible TokensMinted (r:1 w:1)386 /// Storage: Nonfungible TokensMinted (r:1 w:1)
238 // Storage: Nonfungible AccountBalance (r:1 w:1)387 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
388 /// Storage: Nonfungible AccountBalance (r:1 w:1)
239 // Storage: Nonfungible TokenProperties (r:1 w:1)389 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
390 /// Storage: Nonfungible TokenProperties (r:1 w:1)
240 // Storage: Common CollectionPropertyPermissions (r:1 w:0)391 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
392 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
241 // Storage: Nonfungible TokenData (r:0 w:1)393 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
394 /// Storage: Nonfungible TokenData (r:0 w:1)
242 // Storage: Nonfungible Owned (r:0 w:1)395 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
396 /// Storage: Nonfungible Owned (r:0 w:1)
397 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
243 fn create_item() -> Weight {398 fn create_item() -> Weight {
244 Weight::from_ref_time(35_333_000 as u64)399 // Proof Size summary in bytes:
400 // Measured: `390`
401 // Estimated: `59511`
402 // Minimum execution time: 23_081_000 picoseconds.
403 Weight::from_parts(23_551_000, 59511)
245 .saturating_add(RocksDbWeight::get().reads(4 as u64))404 .saturating_add(RocksDbWeight::get().reads(4_u64))
246 .saturating_add(RocksDbWeight::get().writes(5 as u64))405 .saturating_add(RocksDbWeight::get().writes(5_u64))
247 }406 }
248 // Storage: Nonfungible TokensMinted (r:1 w:1)407 /// Storage: Nonfungible TokensMinted (r:1 w:1)
249 // Storage: Nonfungible AccountBalance (r:1 w:1)408 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
409 /// Storage: Nonfungible AccountBalance (r:1 w:1)
250 // Storage: Nonfungible TokenProperties (r:4 w:4)410 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
411 /// Storage: Nonfungible TokenProperties (r:200 w:200)
251 // Storage: Common CollectionPropertyPermissions (r:1 w:0)412 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
413 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
252 // Storage: Nonfungible TokenData (r:0 w:4)414 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
415 /// Storage: Nonfungible TokenData (r:0 w:200)
253 // Storage: Nonfungible Owned (r:0 w:4)416 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
417 /// Storage: Nonfungible Owned (r:0 w:200)
418 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
419 /// The range of component `b` is `[0, 200]`.
254 fn create_multiple_items(b: u32, ) -> Weight {420 fn create_multiple_items(b: u32, ) -> Weight {
255 Weight::from_ref_time(19_091_371 as u64)421 // Proof Size summary in bytes:
422 // Measured: `390`
423 // Estimated: `24232 + b * (35279 ±0)`
424 // Minimum execution time: 4_557_000 picoseconds.
425 Weight::from_parts(5_994_058, 24232)
256 // Standard Error: 3_221426 // Standard Error: 4_326
257 .saturating_add(Weight::from_ref_time(7_304_849 as u64).saturating_mul(b as u64))427 .saturating_add(Weight::from_parts(7_369_489, 0).saturating_mul(b.into()))
258 .saturating_add(RocksDbWeight::get().reads(3 as u64))428 .saturating_add(RocksDbWeight::get().reads(3_u64))
259 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))429 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
260 .saturating_add(RocksDbWeight::get().writes(2 as u64))430 .saturating_add(RocksDbWeight::get().writes(2_u64))
261 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))431 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))
432 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))
262 }433 }
263 // Storage: Nonfungible TokensMinted (r:1 w:1)434 /// Storage: Nonfungible TokensMinted (r:1 w:1)
264 // Storage: Nonfungible AccountBalance (r:4 w:4)435 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
436 /// Storage: Nonfungible AccountBalance (r:200 w:200)
265 // Storage: Nonfungible TokenProperties (r:4 w:4)437 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
438 /// Storage: Nonfungible TokenProperties (r:200 w:200)
266 // Storage: Common CollectionPropertyPermissions (r:1 w:0)439 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
440 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
267 // Storage: Nonfungible TokenData (r:0 w:4)441 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
442 /// Storage: Nonfungible TokenData (r:0 w:200)
268 // Storage: Nonfungible Owned (r:0 w:4)443 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
444 /// Storage: Nonfungible Owned (r:0 w:200)
445 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
446 /// The range of component `b` is `[0, 200]`.
269 fn create_multiple_items_ex(b: u32, ) -> Weight {447 fn create_multiple_items_ex(b: u32, ) -> Weight {
270 Weight::from_ref_time(12_655_339 as u64)448 // Proof Size summary in bytes:
449 // Measured: `390`
450 // Estimated: `21692 + b * (37819 ±0)`
451 // Minimum execution time: 4_533_000 picoseconds.
452 Weight::from_parts(2_822_660, 21692)
271 // Standard Error: 3_655453 // Standard Error: 3_650
272 .saturating_add(Weight::from_ref_time(9_051_919 as u64).saturating_mul(b as u64))454 .saturating_add(Weight::from_parts(9_100_706, 0).saturating_mul(b.into()))
273 .saturating_add(RocksDbWeight::get().reads(2 as u64))455 .saturating_add(RocksDbWeight::get().reads(2_u64))
274 .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))456 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
275 .saturating_add(RocksDbWeight::get().writes(1 as u64))457 .saturating_add(RocksDbWeight::get().writes(1_u64))
276 .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))458 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))
459 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))
277 }460 }
278 // Storage: Nonfungible TokenData (r:1 w:1)461 /// Storage: Nonfungible TokenData (r:1 w:1)
279 // Storage: Nonfungible TokenChildren (r:1 w:0)462 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
463 /// Storage: Nonfungible TokenChildren (r:1 w:0)
280 // Storage: Nonfungible TokensBurnt (r:1 w:1)464 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
465 /// Storage: Nonfungible TokensBurnt (r:1 w:1)
281 // Storage: Nonfungible AccountBalance (r:1 w:1)466 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
467 /// Storage: Nonfungible AccountBalance (r:1 w:1)
282 // Storage: Nonfungible Allowance (r:1 w:0)468 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
469 /// Storage: Nonfungible Allowance (r:1 w:0)
283 // Storage: Nonfungible Owned (r:0 w:1)470 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
471 /// Storage: Nonfungible Owned (r:0 w:1)
284 // Storage: Nonfungible TokenProperties (r:0 w:1)472 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
473 /// Storage: Nonfungible TokenProperties (r:0 w:1)
474 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
285 fn burn_item() -> Weight {475 fn burn_item() -> Weight {
286 Weight::from_ref_time(34_068_000 as u64)476 // Proof Size summary in bytes:
477 // Measured: `412`
478 // Estimated: `12611`
479 // Minimum execution time: 23_528_000 picoseconds.
480 Weight::from_parts(24_680_000, 12611)
287 .saturating_add(RocksDbWeight::get().reads(5 as u64))481 .saturating_add(RocksDbWeight::get().reads(5_u64))
288 .saturating_add(RocksDbWeight::get().writes(5 as u64))482 .saturating_add(RocksDbWeight::get().writes(5_u64))
289 }483 }
290 // Storage: Nonfungible TokenChildren (r:1 w:0)484 /// Storage: Nonfungible TokenChildren (r:1 w:0)
291 // Storage: Nonfungible TokenData (r:1 w:1)485 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
486 /// Storage: Nonfungible TokenData (r:1 w:1)
292 // Storage: Nonfungible TokensBurnt (r:1 w:1)487 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
488 /// Storage: Nonfungible TokensBurnt (r:1 w:1)
293 // Storage: Nonfungible AccountBalance (r:1 w:1)489 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
490 /// Storage: Nonfungible AccountBalance (r:1 w:1)
294 // Storage: Nonfungible Allowance (r:1 w:0)491 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
492 /// Storage: Nonfungible Allowance (r:1 w:0)
295 // Storage: Nonfungible Owned (r:0 w:1)493 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
494 /// Storage: Nonfungible Owned (r:0 w:1)
296 // Storage: Nonfungible TokenProperties (r:0 w:1)495 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
496 /// Storage: Nonfungible TokenProperties (r:0 w:1)
497 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
297 fn burn_recursively_self_raw() -> Weight {498 fn burn_recursively_self_raw() -> Weight {
298 Weight::from_ref_time(44_840_000 as u64)499 // Proof Size summary in bytes:
500 // Measured: `412`
501 // Estimated: `12611`
502 // Minimum execution time: 29_770_000 picoseconds.
503 Weight::from_parts(30_114_000, 12611)
299 .saturating_add(RocksDbWeight::get().reads(5 as u64))504 .saturating_add(RocksDbWeight::get().reads(5_u64))
300 .saturating_add(RocksDbWeight::get().writes(5 as u64))505 .saturating_add(RocksDbWeight::get().writes(5_u64))
301 }506 }
302 // Storage: Nonfungible TokenChildren (r:1 w:0)507 /// Storage: Nonfungible TokenChildren (r:401 w:200)
508 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
509 /// Storage: Common CollectionById (r:1 w:0)
303 // Storage: Nonfungible TokenData (r:1 w:1)510 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
511 /// Storage: Nonfungible TokenData (r:201 w:201)
304 // Storage: Nonfungible TokensBurnt (r:1 w:1)512 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
513 /// Storage: Nonfungible TokensBurnt (r:1 w:1)
305 // Storage: Nonfungible AccountBalance (r:1 w:1)514 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
515 /// Storage: Nonfungible AccountBalance (r:2 w:2)
306 // Storage: Nonfungible Allowance (r:1 w:0)516 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
517 /// Storage: Nonfungible Allowance (r:201 w:0)
307 // Storage: Nonfungible Owned (r:0 w:1)518 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
519 /// Storage: Nonfungible Owned (r:0 w:201)
308 // Storage: Nonfungible TokenProperties (r:0 w:1)520 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
521 /// Storage: Nonfungible TokenProperties (r:0 w:201)
309 // Storage: Common CollectionById (r:1 w:0)522 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
523 /// The range of component `b` is `[0, 200]`.
310 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {524 fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
311 Weight::from_ref_time(44_567_000 as u64)525 // Proof Size summary in bytes:
526 // Measured: `1530 + b * (58 ±0)`
527 // Estimated: `18290 + b * (10097 ±0)`
312 // Standard Error: 1_014_743528 // Minimum execution time: 31_413_000 picoseconds.
529 Weight::from_parts(31_865_000, 18290)
530 // Standard Error: 980_032
313 .saturating_add(Weight::from_ref_time(209_619_240 as u64).saturating_mul(b as u64))531 .saturating_add(Weight::from_parts(205_236_443, 0).saturating_mul(b.into()))
314 .saturating_add(RocksDbWeight::get().reads(7 as u64))532 .saturating_add(RocksDbWeight::get().reads(7_u64))
315 .saturating_add(RocksDbWeight::get().reads((4 as u64).saturating_mul(b as u64)))533 .saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))
316 .saturating_add(RocksDbWeight::get().writes(6 as u64))534 .saturating_add(RocksDbWeight::get().writes(6_u64))
317 .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))535 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))
536 .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))
318 }537 }
319 // Storage: Nonfungible TokenData (r:1 w:1)538 /// Storage: Nonfungible TokenData (r:1 w:1)
320 // Storage: Nonfungible AccountBalance (r:2 w:2)539 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
540 /// Storage: Nonfungible AccountBalance (r:2 w:2)
321 // Storage: Nonfungible Allowance (r:1 w:0)541 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
542 /// Storage: Nonfungible Allowance (r:1 w:0)
322 // Storage: Nonfungible Owned (r:0 w:2)543 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
544 /// Storage: Nonfungible Owned (r:0 w:2)
545 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
323 fn transfer() -> Weight {546 fn transfer() -> Weight {
324 Weight::from_ref_time(29_508_000 as u64)547 // Proof Size summary in bytes:
548 // Measured: `412`
549 // Estimated: `10144`
550 // Minimum execution time: 18_629_000 picoseconds.
551 Weight::from_parts(18_997_000, 10144)
325 .saturating_add(RocksDbWeight::get().reads(4 as u64))552 .saturating_add(RocksDbWeight::get().reads(4_u64))
326 .saturating_add(RocksDbWeight::get().writes(5 as u64))553 .saturating_add(RocksDbWeight::get().writes(5_u64))
327 }554 }
328 // Storage: Nonfungible TokenData (r:1 w:0)555 /// Storage: Nonfungible TokenData (r:1 w:0)
329 // Storage: Nonfungible Allowance (r:1 w:1)556 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
557 /// Storage: Nonfungible Allowance (r:1 w:1)
558 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
330 fn approve() -> Weight {559 fn approve() -> Weight {
331 Weight::from_ref_time(22_168_000 as u64)560 // Proof Size summary in bytes:
561 // Measured: `358`
562 // Estimated: `5064`
563 // Minimum execution time: 11_507_000 picoseconds.
564 Weight::from_parts(11_771_000, 5064)
332 .saturating_add(RocksDbWeight::get().reads(2 as u64))565 .saturating_add(RocksDbWeight::get().reads(2_u64))
333 .saturating_add(RocksDbWeight::get().writes(1 as u64))566 .saturating_add(RocksDbWeight::get().writes(1_u64))
334 }567 }
335 // Storage: Nonfungible TokenData (r:1 w:0)568 /// Storage: Nonfungible TokenData (r:1 w:0)
336 // Storage: Nonfungible Allowance (r:1 w:1)569 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
570 /// Storage: Nonfungible Allowance (r:1 w:1)
571 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
337 fn approve_from() -> Weight {572 fn approve_from() -> Weight {
338 Weight::from_ref_time(22_063_000 as u64)573 // Proof Size summary in bytes:
574 // Measured: `313`
575 // Estimated: `5064`
576 // Minimum execution time: 11_558_000 picoseconds.
577 Weight::from_parts(11_789_000, 5064)
339 .saturating_add(RocksDbWeight::get().reads(2 as u64))578 .saturating_add(RocksDbWeight::get().reads(2_u64))
340 .saturating_add(RocksDbWeight::get().writes(1 as u64))579 .saturating_add(RocksDbWeight::get().writes(1_u64))
341 }580 }
342 // Storage: Nonfungible Allowance (r:1 w:1)581 /// Storage: Nonfungible Allowance (r:1 w:1)
343 // Storage: Nonfungible TokenData (r:1 w:1)582 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
583 /// Storage: Nonfungible TokenData (r:1 w:1)
344 // Storage: Nonfungible AccountBalance (r:2 w:2)584 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
585 /// Storage: Nonfungible AccountBalance (r:2 w:2)
345 // Storage: Nonfungible Owned (r:0 w:2)586 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
587 /// Storage: Nonfungible Owned (r:0 w:2)
588 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
346 fn transfer_from() -> Weight {589 fn transfer_from() -> Weight {
347 Weight::from_ref_time(36_386_000 as u64)590 // Proof Size summary in bytes:
591 // Measured: `527`
592 // Estimated: `10144`
593 // Minimum execution time: 24_919_000 picoseconds.
594 Weight::from_parts(25_333_000, 10144)
348 .saturating_add(RocksDbWeight::get().reads(4 as u64))595 .saturating_add(RocksDbWeight::get().reads(4_u64))
349 .saturating_add(RocksDbWeight::get().writes(6 as u64))596 .saturating_add(RocksDbWeight::get().writes(6_u64))
350 }597 }
351 // Storage: Nonfungible Allowance (r:1 w:1)598 /// Storage: Nonfungible Allowance (r:1 w:1)
352 // Storage: Nonfungible TokenData (r:1 w:1)599 /// Proof: Nonfungible Allowance (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
600 /// Storage: Nonfungible TokenData (r:1 w:1)
353 // Storage: Nonfungible TokenChildren (r:1 w:0)601 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
602 /// Storage: Nonfungible TokenChildren (r:1 w:0)
354 // Storage: Nonfungible TokensBurnt (r:1 w:1)603 /// Proof: Nonfungible TokenChildren (max_values: None, max_size: Some(41), added: 2516, mode: MaxEncodedLen)
604 /// Storage: Nonfungible TokensBurnt (r:1 w:1)
355 // Storage: Nonfungible AccountBalance (r:1 w:1)605 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
606 /// Storage: Nonfungible AccountBalance (r:1 w:1)
356 // Storage: Nonfungible Owned (r:0 w:1)607 /// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
608 /// Storage: Nonfungible Owned (r:0 w:1)
357 // Storage: Nonfungible TokenProperties (r:0 w:1)609 /// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
610 /// Storage: Nonfungible TokenProperties (r:0 w:1)
611 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
358 fn burn_from() -> Weight {612 fn burn_from() -> Weight {
359 Weight::from_ref_time(42_499_000 as u64)613 // Proof Size summary in bytes:
614 // Measured: `527`
615 // Estimated: `12611`
616 // Minimum execution time: 30_713_000 picoseconds.
617 Weight::from_parts(31_160_000, 12611)
360 .saturating_add(RocksDbWeight::get().reads(5 as u64))618 .saturating_add(RocksDbWeight::get().reads(5_u64))
361 .saturating_add(RocksDbWeight::get().writes(6 as u64))619 .saturating_add(RocksDbWeight::get().writes(6_u64))
362 }620 }
363 // Storage: Common CollectionPropertyPermissions (r:1 w:1)621 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)
622 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
623 /// The range of component `b` is `[0, 64]`.
364 fn set_token_property_permissions(b: u32, ) -> Weight {624 fn set_token_property_permissions(b: u32, ) -> Weight {
365 Weight::from_ref_time(5_317_000 as u64)625 // Proof Size summary in bytes:
626 // Measured: `281`
627 // Estimated: `19201`
628 // Minimum execution time: 2_360_000 picoseconds.
629 Weight::from_parts(2_396_000, 19201)
366 // Standard Error: 42_045630 // Standard Error: 43_257
367 .saturating_add(Weight::from_ref_time(12_179_871 as u64).saturating_mul(b as u64))631 .saturating_add(Weight::from_parts(12_085_808, 0).saturating_mul(b.into()))
368 .saturating_add(RocksDbWeight::get().reads(1 as u64))632 .saturating_add(RocksDbWeight::get().reads(1_u64))
369 .saturating_add(RocksDbWeight::get().writes(1 as u64))633 .saturating_add(RocksDbWeight::get().writes(1_u64))
370 }634 }
371 // Storage: Nonfungible TokenProperties (r:1 w:1)635 /// Storage: Nonfungible TokenProperties (r:1 w:1)
372 // Storage: Common CollectionPropertyPermissions (r:1 w:0)636 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
637 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
638 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
639 /// The range of component `b` is `[0, 64]`.
373 fn set_token_properties(b: u32, ) -> Weight {640 fn set_token_properties(b: u32, ) -> Weight {
374 Weight::from_ref_time(15_428_000 as u64)641 // Proof Size summary in bytes:
642 // Measured: `616 + b * (261 ±0)`
643 // Estimated: `54480`
644 // Minimum execution time: 12_543_000 picoseconds.
645 Weight::from_parts(12_686_000, 54480)
375 // Standard Error: 58_002646 // Standard Error: 52_286
376 .saturating_add(Weight::from_ref_time(7_195_842 as u64).saturating_mul(b as u64))647 .saturating_add(Weight::from_parts(6_894_785, 0).saturating_mul(b.into()))
377 .saturating_add(RocksDbWeight::get().reads(2 as u64))648 .saturating_add(RocksDbWeight::get().reads(2_u64))
378 .saturating_add(RocksDbWeight::get().writes(1 as u64))649 .saturating_add(RocksDbWeight::get().writes(1_u64))
379 }650 }
380 // Storage: Nonfungible TokenProperties (r:1 w:1)651 /// Storage: Nonfungible TokenProperties (r:1 w:1)
381 // Storage: Common CollectionPropertyPermissions (r:1 w:0)652 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
653 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
654 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
655 /// The range of component `b` is `[0, 64]`.
382 fn delete_token_properties(b: u32, ) -> Weight {656 fn delete_token_properties(b: u32, ) -> Weight {
383 Weight::from_ref_time(15_498_000 as u64)657 // Proof Size summary in bytes:
658 // Measured: `653 + b * (33291 ±0)`
659 // Estimated: `54480`
660 // Minimum execution time: 12_352_000 picoseconds.
661 Weight::from_parts(12_523_000, 54480)
384 // Standard Error: 68_276662 // Standard Error: 70_401
385 .saturating_add(Weight::from_ref_time(22_441_281 as u64).saturating_mul(b as u64))663 .saturating_add(Weight::from_parts(21_959_228, 0).saturating_mul(b.into()))
386 .saturating_add(RocksDbWeight::get().reads(2 as u64))664 .saturating_add(RocksDbWeight::get().reads(2_u64))
387 .saturating_add(RocksDbWeight::get().writes(1 as u64))665 .saturating_add(RocksDbWeight::get().writes(1_u64))
388 }666 }
389 // Storage: Nonfungible TokenData (r:1 w:0)667 /// Storage: Nonfungible TokenData (r:1 w:0)
668 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
390 fn token_owner() -> Weight {669 fn token_owner() -> Weight {
391 Weight::from_ref_time(7_006_000 as u64)670 // Proof Size summary in bytes:
671 // Measured: `358`
672 // Estimated: `2532`
673 // Minimum execution time: 4_797_000 picoseconds.
674 Weight::from_parts(5_499_000, 2532)
392 .saturating_add(RocksDbWeight::get().reads(1 as u64))675 .saturating_add(RocksDbWeight::get().reads(1_u64))
393 }676 }
394 // Storage: Nonfungible CollectionAllowance (r:0 w:1)677 /// Storage: Nonfungible CollectionAllowance (r:0 w:1)
678 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
395 fn set_allowance_for_all() -> Weight {679 fn set_allowance_for_all() -> Weight {
396 Weight::from_ref_time(16_761_000 as u64)680 // Proof Size summary in bytes:
681 // Measured: `0`
682 // Estimated: `0`
683 // Minimum execution time: 6_303_000 picoseconds.
684 Weight::from_parts(6_712_000, 0)
397 .saturating_add(RocksDbWeight::get().writes(1 as u64))685 .saturating_add(RocksDbWeight::get().writes(1_u64))
398 }686 }
399 // Storage: Nonfungible CollectionAllowance (r:1 w:0)687 /// Storage: Nonfungible CollectionAllowance (r:1 w:0)
688 /// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
400 fn allowance_for_all() -> Weight {689 fn allowance_for_all() -> Weight {
401 Weight::from_ref_time(5_577_000 as u64)690 // Proof Size summary in bytes:
691 // Measured: `109`
692 // Estimated: `2586`
693 // Minimum execution time: 3_798_000 picoseconds.
694 Weight::from_parts(4_017_000, 2586)
402 .saturating_add(RocksDbWeight::get().reads(1 as u64))695 .saturating_add(RocksDbWeight::get().reads(1_u64))
403 }696 }
404 // Storage: Nonfungible TokenProperties (r:1 w:1)697 /// Storage: Nonfungible TokenProperties (r:1 w:1)
698 /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
405 fn repair_item() -> Weight {699 fn repair_item() -> Weight {
406 Weight::from_ref_time(7_670_000 as u64)700 // Proof Size summary in bytes:
701 // Measured: `300`
702 // Estimated: `35279`
703 // Minimum execution time: 5_531_000 picoseconds.
704 Weight::from_parts(5_750_000, 35279)
407 .saturating_add(RocksDbWeight::get().reads(1 as u64))705 .saturating_add(RocksDbWeight::get().reads(1_u64))
408 .saturating_add(RocksDbWeight::get().writes(1 as u64))706 .saturating_add(RocksDbWeight::get().writes(1_u64))
409 }707 }
410}708}
709
411710
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_refungible3//! Autogenerated weights for pallet_refungible
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template20// --template=.maintain/frame-weight-template.hbs
20// .maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
64/// Weights for pallet_refungible using the Substrate node and recommended hardware.64/// Weights for pallet_refungible using the Substrate node and recommended hardware.
65pub struct SubstrateWeight<T>(PhantomData<T>);65pub struct SubstrateWeight<T>(PhantomData<T>);
66impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {66impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
67 // Storage: Refungible TokensMinted (r:1 w:1)67 /// Storage: Refungible TokensMinted (r:1 w:1)
68 // Storage: Refungible AccountBalance (r:1 w:1)68 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
69 /// Storage: Refungible AccountBalance (r:1 w:1)
69 // Storage: Refungible TokenProperties (r:1 w:1)70 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
71 /// Storage: Refungible TokenProperties (r:1 w:1)
70 // Storage: Common CollectionPropertyPermissions (r:1 w:0)72 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
73 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
71 // Storage: Refungible Balance (r:0 w:1)74 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
75 /// Storage: Refungible Balance (r:0 w:1)
72 // Storage: Refungible TotalSupply (r:0 w:1)76 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
77 /// Storage: Refungible TotalSupply (r:0 w:1)
73 // Storage: Refungible Owned (r:0 w:1)78 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
79 /// Storage: Refungible Owned (r:0 w:1)
80 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
74 fn create_item() -> Weight {81 fn create_item() -> Weight {
75 Weight::from_ref_time(39_971_000 as u64)82 // Proof Size summary in bytes:
83 // Measured: `285`
84 // Estimated: `59511`
85 // Minimum execution time: 25_287_000 picoseconds.
86 Weight::from_parts(25_741_000, 59511)
76 .saturating_add(T::DbWeight::get().reads(4 as u64))87 .saturating_add(T::DbWeight::get().reads(4_u64))
77 .saturating_add(T::DbWeight::get().writes(6 as u64))88 .saturating_add(T::DbWeight::get().writes(6_u64))
78 }89 }
79 // Storage: Refungible TokensMinted (r:1 w:1)90 /// Storage: Refungible TokensMinted (r:1 w:1)
80 // Storage: Refungible AccountBalance (r:1 w:1)91 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
92 /// Storage: Refungible AccountBalance (r:1 w:1)
81 // Storage: Refungible TokenProperties (r:4 w:4)93 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
94 /// Storage: Refungible TokenProperties (r:200 w:200)
82 // Storage: Common CollectionPropertyPermissions (r:1 w:0)95 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
96 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
83 // Storage: Refungible Balance (r:0 w:4)97 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
98 /// Storage: Refungible Balance (r:0 w:200)
84 // Storage: Refungible TotalSupply (r:0 w:4)99 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
100 /// Storage: Refungible TotalSupply (r:0 w:200)
85 // Storage: Refungible Owned (r:0 w:4)101 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
102 /// Storage: Refungible Owned (r:0 w:200)
103 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
104 /// The range of component `b` is `[0, 200]`.
86 fn create_multiple_items(b: u32, ) -> Weight {105 fn create_multiple_items(b: u32, ) -> Weight {
87 Weight::from_ref_time(14_049_866 as u64)106 // Proof Size summary in bytes:
107 // Measured: `285`
108 // Estimated: `24232 + b * (35279 ±0)`
109 // Minimum execution time: 4_618_000 picoseconds.
110 Weight::from_parts(1_425_218, 24232)
88 // Standard Error: 4_015111 // Standard Error: 4_343
89 .saturating_add(Weight::from_ref_time(8_984_911 as u64).saturating_mul(b as u64))112 .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))
90 .saturating_add(T::DbWeight::get().reads(3 as u64))113 .saturating_add(T::DbWeight::get().reads(3_u64))
91 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))114 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
92 .saturating_add(T::DbWeight::get().writes(2 as u64))115 .saturating_add(T::DbWeight::get().writes(2_u64))
93 .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(b as u64)))116 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))
117 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))
94 }118 }
95 // Storage: Refungible TokensMinted (r:1 w:1)119 /// Storage: Refungible TokensMinted (r:1 w:1)
96 // Storage: Refungible AccountBalance (r:4 w:4)120 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
121 /// Storage: Refungible AccountBalance (r:200 w:200)
97 // Storage: Refungible TokenProperties (r:4 w:4)122 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
123 /// Storage: Refungible TokenProperties (r:200 w:200)
98 // Storage: Common CollectionPropertyPermissions (r:1 w:0)124 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
125 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
99 // Storage: Refungible Balance (r:0 w:4)126 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
127 /// Storage: Refungible Balance (r:0 w:200)
100 // Storage: Refungible TotalSupply (r:0 w:4)128 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
129 /// Storage: Refungible TotalSupply (r:0 w:200)
101 // Storage: Refungible Owned (r:0 w:4)130 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
131 /// Storage: Refungible Owned (r:0 w:200)
132 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
133 /// The range of component `b` is `[0, 200]`.
102 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {134 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
103 Weight::from_ref_time(14_893_679 as u64)135 // Proof Size summary in bytes:
136 // Measured: `285`
137 // Estimated: `21692 + b * (37819 ±0)`
138 // Minimum execution time: 4_063_000 picoseconds.
139 Weight::from_parts(4_160_000, 21692)
104 // Standard Error: 3_571140 // Standard Error: 2_386
105 .saturating_add(Weight::from_ref_time(10_611_135 as u64).saturating_mul(b as u64))141 .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))
106 .saturating_add(T::DbWeight::get().reads(2 as u64))142 .saturating_add(T::DbWeight::get().reads(2_u64))
107 .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(b as u64)))143 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
108 .saturating_add(T::DbWeight::get().writes(1 as u64))144 .saturating_add(T::DbWeight::get().writes(1_u64))
109 .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(b as u64)))145 .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))
146 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))
110 }147 }
111 // Storage: Refungible TokensMinted (r:1 w:1)148 /// Storage: Refungible TokensMinted (r:1 w:1)
112 // Storage: Refungible TokenProperties (r:1 w:1)149 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
150 /// Storage: Refungible AccountBalance (r:200 w:200)
151 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
152 /// Storage: Refungible TokenProperties (r:1 w:1)
113 // Storage: Common CollectionPropertyPermissions (r:1 w:0)153 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
154 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
114 // Storage: Refungible TotalSupply (r:0 w:1)155 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
156 /// Storage: Refungible Balance (r:0 w:200)
115 // Storage: Refungible AccountBalance (r:4 w:4)157 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
116 // Storage: Refungible Balance (r:0 w:4)158 /// Storage: Refungible TotalSupply (r:0 w:1)
117 // Storage: Refungible Owned (r:0 w:4)159 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
160 /// Storage: Refungible Owned (r:0 w:200)
161 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
162 /// The range of component `b` is `[0, 200]`.
118 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {163 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
119 Weight::from_ref_time(31_075_923 as u64)164 // Proof Size summary in bytes:
165 // Measured: `285`
166 // Estimated: `56971 + b * (2540 ±0)`
167 // Minimum execution time: 14_637_000 picoseconds.
168 Weight::from_parts(19_042_423, 56971)
120 // Standard Error: 2_118169 // Standard Error: 1_632
121 .saturating_add(Weight::from_ref_time(5_829_866 as u64).saturating_mul(b as u64))170 .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))
122 .saturating_add(T::DbWeight::get().reads(3 as u64))171 .saturating_add(T::DbWeight::get().reads(3_u64))
123 .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(b as u64)))172 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
124 .saturating_add(T::DbWeight::get().writes(3 as u64))173 .saturating_add(T::DbWeight::get().writes(3_u64))
125 .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(b as u64)))174 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
175 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))
126 }176 }
127 // Storage: Refungible Balance (r:3 w:1)177 /// Storage: Refungible Balance (r:3 w:1)
128 // Storage: Refungible TotalSupply (r:1 w:1)178 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
179 /// Storage: Refungible TotalSupply (r:1 w:1)
129 // Storage: Refungible AccountBalance (r:1 w:1)180 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
181 /// Storage: Refungible AccountBalance (r:1 w:1)
130 // Storage: Refungible Owned (r:0 w:1)182 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
183 /// Storage: Refungible Owned (r:0 w:1)
184 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
131 fn burn_item_partial() -> Weight {185 fn burn_item_partial() -> Weight {
132 Weight::from_ref_time(47_369_000 as u64)186 // Proof Size summary in bytes:
187 // Measured: `490`
188 // Estimated: `12747`
189 // Minimum execution time: 35_018_000 picoseconds.
190 Weight::from_parts(35_596_000, 12747)
133 .saturating_add(T::DbWeight::get().reads(5 as u64))191 .saturating_add(T::DbWeight::get().reads(5_u64))
134 .saturating_add(T::DbWeight::get().writes(4 as u64))192 .saturating_add(T::DbWeight::get().writes(4_u64))
135 }193 }
136 // Storage: Refungible Balance (r:1 w:1)194 /// Storage: Refungible Balance (r:1 w:1)
137 // Storage: Refungible TotalSupply (r:1 w:1)195 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
196 /// Storage: Refungible TotalSupply (r:1 w:1)
138 // Storage: Refungible AccountBalance (r:1 w:1)197 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
198 /// Storage: Refungible AccountBalance (r:1 w:1)
139 // Storage: Refungible TokensBurnt (r:1 w:1)199 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
200 /// Storage: Refungible TokensBurnt (r:1 w:1)
140 // Storage: Refungible Owned (r:0 w:1)201 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
202 /// Storage: Refungible Owned (r:0 w:1)
141 // Storage: Refungible TokenProperties (r:0 w:1)203 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
204 /// Storage: Refungible TokenProperties (r:0 w:1)
205 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
142 fn burn_item_fully() -> Weight {206 fn burn_item_fully() -> Weight {
143 Weight::from_ref_time(41_351_000 as u64)207 // Proof Size summary in bytes:
208 // Measured: `375`
209 // Estimated: `10110`
210 // Minimum execution time: 30_441_000 picoseconds.
211 Weight::from_parts(31_000_000, 10110)
144 .saturating_add(T::DbWeight::get().reads(4 as u64))212 .saturating_add(T::DbWeight::get().reads(4_u64))
145 .saturating_add(T::DbWeight::get().writes(6 as u64))213 .saturating_add(T::DbWeight::get().writes(6_u64))
146 }214 }
147 // Storage: Refungible Balance (r:2 w:2)215 /// Storage: Refungible Balance (r:2 w:2)
148 // Storage: Refungible TotalSupply (r:1 w:0)216 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
217 /// Storage: Refungible TotalSupply (r:1 w:0)
218 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
149 fn transfer_normal() -> Weight {219 fn transfer_normal() -> Weight {
150 Weight::from_ref_time(31_379_000 as u64)220 // Proof Size summary in bytes:
221 // Measured: `398`
222 // Estimated: `7643`
223 // Minimum execution time: 20_055_000 picoseconds.
224 Weight::from_parts(20_533_000, 7643)
151 .saturating_add(T::DbWeight::get().reads(3 as u64))225 .saturating_add(T::DbWeight::get().reads(3_u64))
152 .saturating_add(T::DbWeight::get().writes(2 as u64))226 .saturating_add(T::DbWeight::get().writes(2_u64))
153 }227 }
154 // Storage: Refungible Balance (r:2 w:2)228 /// Storage: Refungible Balance (r:2 w:2)
155 // Storage: Refungible AccountBalance (r:1 w:1)229 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
230 /// Storage: Refungible AccountBalance (r:1 w:1)
156 // Storage: Refungible TotalSupply (r:1 w:0)231 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
232 /// Storage: Refungible TotalSupply (r:1 w:0)
157 // Storage: Refungible Owned (r:0 w:1)233 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
234 /// Storage: Refungible Owned (r:0 w:1)
235 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
158 fn transfer_creating() -> Weight {236 fn transfer_creating() -> Weight {
159 Weight::from_ref_time(34_829_000 as u64)237 // Proof Size summary in bytes:
238 // Measured: `375`
239 // Estimated: `10183`
240 // Minimum execution time: 23_443_000 picoseconds.
241 Weight::from_parts(23_791_000, 10183)
160 .saturating_add(T::DbWeight::get().reads(4 as u64))242 .saturating_add(T::DbWeight::get().reads(4_u64))
161 .saturating_add(T::DbWeight::get().writes(4 as u64))243 .saturating_add(T::DbWeight::get().writes(4_u64))
162 }244 }
163 // Storage: Refungible Balance (r:2 w:2)245 /// Storage: Refungible Balance (r:2 w:2)
164 // Storage: Refungible AccountBalance (r:1 w:1)246 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
247 /// Storage: Refungible AccountBalance (r:1 w:1)
165 // Storage: Refungible TotalSupply (r:1 w:0)248 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
249 /// Storage: Refungible TotalSupply (r:1 w:0)
166 // Storage: Refungible Owned (r:0 w:1)250 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
251 /// Storage: Refungible Owned (r:0 w:1)
252 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
167 fn transfer_removing() -> Weight {253 fn transfer_removing() -> Weight {
168 Weight::from_ref_time(38_221_000 as u64)254 // Proof Size summary in bytes:
255 // Measured: `490`
256 // Estimated: `10183`
257 // Minimum execution time: 26_489_000 picoseconds.
258 Weight::from_parts(27_103_000, 10183)
169 .saturating_add(T::DbWeight::get().reads(4 as u64))259 .saturating_add(T::DbWeight::get().reads(4_u64))
170 .saturating_add(T::DbWeight::get().writes(4 as u64))260 .saturating_add(T::DbWeight::get().writes(4_u64))
171 }261 }
172 // Storage: Refungible Balance (r:2 w:2)262 /// Storage: Refungible Balance (r:2 w:2)
173 // Storage: Refungible AccountBalance (r:2 w:2)263 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
264 /// Storage: Refungible AccountBalance (r:2 w:2)
174 // Storage: Refungible TotalSupply (r:1 w:0)265 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
266 /// Storage: Refungible TotalSupply (r:1 w:0)
175 // Storage: Refungible Owned (r:0 w:2)267 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
268 /// Storage: Refungible Owned (r:0 w:2)
269 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
176 fn transfer_creating_removing() -> Weight {270 fn transfer_creating_removing() -> Weight {
177 Weight::from_ref_time(38_102_000 as u64)271 // Proof Size summary in bytes:
272 // Measured: `375`
273 // Estimated: `12723`
274 // Minimum execution time: 26_719_000 picoseconds.
275 Weight::from_parts(27_038_000, 12723)
178 .saturating_add(T::DbWeight::get().reads(5 as u64))276 .saturating_add(T::DbWeight::get().reads(5_u64))
179 .saturating_add(T::DbWeight::get().writes(6 as u64))277 .saturating_add(T::DbWeight::get().writes(6_u64))
180 }278 }
181 // Storage: Refungible Balance (r:1 w:0)279 /// Storage: Refungible Balance (r:1 w:0)
182 // Storage: Refungible Allowance (r:0 w:1)280 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
281 /// Storage: Refungible Allowance (r:0 w:1)
282 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
183 fn approve() -> Weight {283 fn approve() -> Weight {
184 Weight::from_ref_time(24_217_000 as u64)284 // Proof Size summary in bytes:
285 // Measured: `256`
286 // Estimated: `2564`
287 // Minimum execution time: 12_949_000 picoseconds.
288 Weight::from_parts(13_181_000, 2564)
185 .saturating_add(T::DbWeight::get().reads(1 as u64))289 .saturating_add(T::DbWeight::get().reads(1_u64))
186 .saturating_add(T::DbWeight::get().writes(1 as u64))290 .saturating_add(T::DbWeight::get().writes(1_u64))
187 }291 }
188 // Storage: Refungible Balance (r:1 w:0)292 /// Storage: Refungible Balance (r:1 w:0)
189 // Storage: Refungible Allowance (r:0 w:1)293 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
294 /// Storage: Refungible Allowance (r:0 w:1)
295 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
190 fn approve_from() -> Weight {296 fn approve_from() -> Weight {
191 Weight::from_ref_time(24_173_000 as u64)297 // Proof Size summary in bytes:
298 // Measured: `244`
299 // Estimated: `2564`
300 // Minimum execution time: 12_942_000 picoseconds.
301 Weight::from_parts(13_268_000, 2564)
192 .saturating_add(T::DbWeight::get().reads(1 as u64))302 .saturating_add(T::DbWeight::get().reads(1_u64))
193 .saturating_add(T::DbWeight::get().writes(1 as u64))303 .saturating_add(T::DbWeight::get().writes(1_u64))
194 }304 }
195 // Storage: Refungible Allowance (r:1 w:1)305 /// Storage: Refungible Allowance (r:1 w:1)
196 // Storage: Refungible Balance (r:2 w:2)306 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
307 /// Storage: Refungible Balance (r:2 w:2)
197 // Storage: Refungible TotalSupply (r:1 w:0)308 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
309 /// Storage: Refungible TotalSupply (r:1 w:0)
310 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
198 fn transfer_from_normal() -> Weight {311 fn transfer_from_normal() -> Weight {
199 Weight::from_ref_time(40_040_000 as u64)312 // Proof Size summary in bytes:
313 // Measured: `528`
314 // Estimated: `10223`
315 // Minimum execution time: 28_907_000 picoseconds.
316 Weight::from_parts(29_487_000, 10223)
200 .saturating_add(T::DbWeight::get().reads(4 as u64))317 .saturating_add(T::DbWeight::get().reads(4_u64))
201 .saturating_add(T::DbWeight::get().writes(3 as u64))318 .saturating_add(T::DbWeight::get().writes(3_u64))
202 }319 }
203 // Storage: Refungible Allowance (r:1 w:1)320 /// Storage: Refungible Allowance (r:1 w:1)
204 // Storage: Refungible Balance (r:2 w:2)321 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
322 /// Storage: Refungible Balance (r:2 w:2)
205 // Storage: Refungible AccountBalance (r:1 w:1)323 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
324 /// Storage: Refungible AccountBalance (r:1 w:1)
206 // Storage: Refungible TotalSupply (r:1 w:0)325 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
326 /// Storage: Refungible TotalSupply (r:1 w:0)
207 // Storage: Refungible Owned (r:0 w:1)327 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
328 /// Storage: Refungible Owned (r:0 w:1)
329 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
208 fn transfer_from_creating() -> Weight {330 fn transfer_from_creating() -> Weight {
209 Weight::from_ref_time(42_906_000 as u64)331 // Proof Size summary in bytes:
332 // Measured: `505`
333 // Estimated: `12763`
334 // Minimum execution time: 31_271_000 picoseconds.
335 Weight::from_parts(32_293_000, 12763)
210 .saturating_add(T::DbWeight::get().reads(5 as u64))336 .saturating_add(T::DbWeight::get().reads(5_u64))
211 .saturating_add(T::DbWeight::get().writes(5 as u64))337 .saturating_add(T::DbWeight::get().writes(5_u64))
212 }338 }
213 // Storage: Refungible Allowance (r:1 w:1)339 /// Storage: Refungible Allowance (r:1 w:1)
214 // Storage: Refungible Balance (r:2 w:2)340 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
341 /// Storage: Refungible Balance (r:2 w:2)
215 // Storage: Refungible AccountBalance (r:1 w:1)342 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
343 /// Storage: Refungible AccountBalance (r:1 w:1)
216 // Storage: Refungible TotalSupply (r:1 w:0)344 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
345 /// Storage: Refungible TotalSupply (r:1 w:0)
217 // Storage: Refungible Owned (r:0 w:1)346 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
347 /// Storage: Refungible Owned (r:0 w:1)
348 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
218 fn transfer_from_removing() -> Weight {349 fn transfer_from_removing() -> Weight {
219 Weight::from_ref_time(46_112_000 as u64)350 // Proof Size summary in bytes:
351 // Measured: `620`
352 // Estimated: `12763`
353 // Minimum execution time: 34_295_000 picoseconds.
354 Weight::from_parts(34_924_000, 12763)
220 .saturating_add(T::DbWeight::get().reads(5 as u64))355 .saturating_add(T::DbWeight::get().reads(5_u64))
221 .saturating_add(T::DbWeight::get().writes(5 as u64))356 .saturating_add(T::DbWeight::get().writes(5_u64))
222 }357 }
223 // Storage: Refungible Allowance (r:1 w:1)358 /// Storage: Refungible Allowance (r:1 w:1)
224 // Storage: Refungible Balance (r:2 w:2)359 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
360 /// Storage: Refungible Balance (r:2 w:2)
225 // Storage: Refungible AccountBalance (r:2 w:2)361 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
362 /// Storage: Refungible AccountBalance (r:2 w:2)
226 // Storage: Refungible TotalSupply (r:1 w:0)363 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
364 /// Storage: Refungible TotalSupply (r:1 w:0)
227 // Storage: Refungible Owned (r:0 w:2)365 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
366 /// Storage: Refungible Owned (r:0 w:2)
367 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
228 fn transfer_from_creating_removing() -> Weight {368 fn transfer_from_creating_removing() -> Weight {
229 Weight::from_ref_time(45_102_000 as u64)369 // Proof Size summary in bytes:
370 // Measured: `505`
371 // Estimated: `15303`
372 // Minimum execution time: 35_447_000 picoseconds.
373 Weight::from_parts(35_896_000, 15303)
230 .saturating_add(T::DbWeight::get().reads(6 as u64))374 .saturating_add(T::DbWeight::get().reads(6_u64))
231 .saturating_add(T::DbWeight::get().writes(7 as u64))375 .saturating_add(T::DbWeight::get().writes(7_u64))
232 }376 }
233 // Storage: Refungible Allowance (r:1 w:1)377 /// Storage: Refungible Allowance (r:1 w:1)
234 // Storage: Refungible Balance (r:1 w:1)378 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
379 /// Storage: Refungible Balance (r:1 w:1)
235 // Storage: Refungible TotalSupply (r:1 w:1)380 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
381 /// Storage: Refungible TotalSupply (r:1 w:1)
236 // Storage: Refungible AccountBalance (r:1 w:1)382 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
383 /// Storage: Refungible AccountBalance (r:1 w:1)
237 // Storage: Refungible TokensBurnt (r:1 w:1)384 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
385 /// Storage: Refungible TokensBurnt (r:1 w:1)
238 // Storage: Refungible Owned (r:0 w:1)386 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
387 /// Storage: Refungible Owned (r:0 w:1)
239 // Storage: Refungible TokenProperties (r:0 w:1)388 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
389 /// Storage: Refungible TokenProperties (r:0 w:1)
390 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
240 fn burn_from() -> Weight {391 fn burn_from() -> Weight {
241 Weight::from_ref_time(50_573_000 as u64)392 // Proof Size summary in bytes:
393 // Measured: `505`
394 // Estimated: `12690`
395 // Minimum execution time: 39_395_000 picoseconds.
396 Weight::from_parts(40_119_000, 12690)
242 .saturating_add(T::DbWeight::get().reads(5 as u64))397 .saturating_add(T::DbWeight::get().reads(5_u64))
243 .saturating_add(T::DbWeight::get().writes(7 as u64))398 .saturating_add(T::DbWeight::get().writes(7_u64))
244 }399 }
245 // Storage: Common CollectionPropertyPermissions (r:1 w:1)400 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)
401 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
402 /// The range of component `b` is `[0, 64]`.
246 fn set_token_property_permissions(b: u32, ) -> Weight {403 fn set_token_property_permissions(b: u32, ) -> Weight {
247 Weight::from_ref_time(5_349_000 as u64)404 // Proof Size summary in bytes:
405 // Measured: `281`
406 // Estimated: `19201`
407 // Minimum execution time: 2_337_000 picoseconds.
408 Weight::from_parts(2_434_000, 19201)
248 // Standard Error: 41_409409 // Standard Error: 43_425
249 .saturating_add(Weight::from_ref_time(12_216_721 as u64).saturating_mul(b as u64))410 .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))
250 .saturating_add(T::DbWeight::get().reads(1 as u64))411 .saturating_add(T::DbWeight::get().reads(1_u64))
251 .saturating_add(T::DbWeight::get().writes(1 as u64))412 .saturating_add(T::DbWeight::get().writes(1_u64))
252 }413 }
253 // Storage: Refungible TokenProperties (r:1 w:1)414 /// Storage: Refungible TokenProperties (r:1 w:1)
254 // Storage: Common CollectionPropertyPermissions (r:1 w:0)415 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
416 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
417 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
418 /// The range of component `b` is `[0, 64]`.
255 fn set_token_properties(b: u32, ) -> Weight {419 fn set_token_properties(b: u32, ) -> Weight {
256 Weight::from_ref_time(12_947_117 as u64)420 // Proof Size summary in bytes:
421 // Measured: `490 + b * (261 ±0)`
422 // Estimated: `54480`
423 // Minimum execution time: 11_857_000 picoseconds.
424 Weight::from_parts(12_007_000, 54480)
257 // Standard Error: 75_487425 // Standard Error: 22_963
258 .saturating_add(Weight::from_ref_time(6_809_149 as u64).saturating_mul(b as u64))426 .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))
259 .saturating_add(T::DbWeight::get().reads(2 as u64))427 .saturating_add(T::DbWeight::get().reads(2_u64))
260 .saturating_add(T::DbWeight::get().writes(1 as u64))428 .saturating_add(T::DbWeight::get().writes(1_u64))
261 }429 }
262 // Storage: Refungible TokenProperties (r:1 w:1)430 /// Storage: Refungible TokenProperties (r:1 w:1)
263 // Storage: Common CollectionPropertyPermissions (r:1 w:0)431 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
432 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
433 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
434 /// The range of component `b` is `[0, 64]`.
264 fn delete_token_properties(b: u32, ) -> Weight {435 fn delete_token_properties(b: u32, ) -> Weight {
265 Weight::from_ref_time(14_967_000 as u64)436 // Proof Size summary in bytes:
437 // Measured: `527 + b * (33291 ±0)`
438 // Estimated: `54480`
439 // Minimum execution time: 12_001_000 picoseconds.
440 Weight::from_parts(12_197_000, 54480)
266 // Standard Error: 66_400441 // Standard Error: 70_580
267 .saturating_add(Weight::from_ref_time(22_261_821 as u64).saturating_mul(b as u64))442 .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))
268 .saturating_add(T::DbWeight::get().reads(2 as u64))443 .saturating_add(T::DbWeight::get().reads(2_u64))
269 .saturating_add(T::DbWeight::get().writes(1 as u64))444 .saturating_add(T::DbWeight::get().writes(1_u64))
270 }445 }
271 // Storage: Refungible TotalSupply (r:1 w:1)446 /// Storage: Refungible TotalSupply (r:1 w:1)
272 // Storage: Refungible Balance (r:1 w:1)447 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
448 /// Storage: Refungible Balance (r:1 w:1)
449 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
273 fn repartition_item() -> Weight {450 fn repartition_item() -> Weight {
274 Weight::from_ref_time(25_823_000 as u64)451 // Proof Size summary in bytes:
452 // Measured: `321`
453 // Estimated: `5079`
454 // Minimum execution time: 14_497_000 picoseconds.
455 Weight::from_parts(14_825_000, 5079)
275 .saturating_add(T::DbWeight::get().reads(2 as u64))456 .saturating_add(T::DbWeight::get().reads(2_u64))
276 .saturating_add(T::DbWeight::get().writes(2 as u64))457 .saturating_add(T::DbWeight::get().writes(2_u64))
277 }458 }
278 // Storage: Refungible Balance (r:2 w:0)459 /// Storage: Refungible Balance (r:2 w:0)
460 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
279 fn token_owner() -> Weight {461 fn token_owner() -> Weight {
280 Weight::from_ref_time(9_445_000 as u64)462 // Proof Size summary in bytes:
463 // Measured: `321`
464 // Estimated: `5128`
465 // Minimum execution time: 8_888_000 picoseconds.
466 Weight::from_parts(9_373_000, 5128)
281 .saturating_add(T::DbWeight::get().reads(2 as u64))467 .saturating_add(T::DbWeight::get().reads(2_u64))
282 }468 }
283 // Storage: Refungible CollectionAllowance (r:0 w:1)469 /// Storage: Refungible CollectionAllowance (r:0 w:1)
470 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
284 fn set_allowance_for_all() -> Weight {471 fn set_allowance_for_all() -> Weight {
285 Weight::from_ref_time(17_303_000 as u64)472 // Proof Size summary in bytes:
473 // Measured: `0`
474 // Estimated: `0`
475 // Minimum execution time: 7_042_000 picoseconds.
476 Weight::from_parts(7_245_000, 0)
286 .saturating_add(T::DbWeight::get().writes(1 as u64))477 .saturating_add(T::DbWeight::get().writes(1_u64))
287 }478 }
288 // Storage: Refungible CollectionAllowance (r:1 w:0)479 /// Storage: Refungible CollectionAllowance (r:1 w:0)
480 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
289 fn allowance_for_all() -> Weight {481 fn allowance_for_all() -> Weight {
290 Weight::from_ref_time(5_352_000 as u64)482 // Proof Size summary in bytes:
483 // Measured: `4`
484 // Estimated: `2586`
485 // Minimum execution time: 3_425_000 picoseconds.
486 Weight::from_parts(3_554_000, 2586)
291 .saturating_add(T::DbWeight::get().reads(1 as u64))487 .saturating_add(T::DbWeight::get().reads(1_u64))
292 }488 }
293 // Storage: Refungible TokenProperties (r:1 w:1)489 /// Storage: Refungible TokenProperties (r:1 w:1)
490 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
294 fn repair_item() -> Weight {491 fn repair_item() -> Weight {
295 Weight::from_ref_time(7_200_000 as u64)492 // Proof Size summary in bytes:
493 // Measured: `174`
494 // Estimated: `35279`
495 // Minimum execution time: 4_684_000 picoseconds.
496 Weight::from_parts(4_805_000, 35279)
296 .saturating_add(T::DbWeight::get().reads(1 as u64))497 .saturating_add(T::DbWeight::get().reads(1_u64))
297 .saturating_add(T::DbWeight::get().writes(1 as u64))498 .saturating_add(T::DbWeight::get().writes(1_u64))
298 }499 }
299}500}
300501
301// For backwards compatibility and tests502// For backwards compatibility and tests
302impl WeightInfo for () {503impl WeightInfo for () {
303 // Storage: Refungible TokensMinted (r:1 w:1)504 /// Storage: Refungible TokensMinted (r:1 w:1)
304 // Storage: Refungible AccountBalance (r:1 w:1)505 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
506 /// Storage: Refungible AccountBalance (r:1 w:1)
305 // Storage: Refungible TokenProperties (r:1 w:1)507 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
508 /// Storage: Refungible TokenProperties (r:1 w:1)
306 // Storage: Common CollectionPropertyPermissions (r:1 w:0)509 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
510 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
307 // Storage: Refungible Balance (r:0 w:1)511 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
512 /// Storage: Refungible Balance (r:0 w:1)
308 // Storage: Refungible TotalSupply (r:0 w:1)513 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
514 /// Storage: Refungible TotalSupply (r:0 w:1)
309 // Storage: Refungible Owned (r:0 w:1)515 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
516 /// Storage: Refungible Owned (r:0 w:1)
517 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
310 fn create_item() -> Weight {518 fn create_item() -> Weight {
311 Weight::from_ref_time(39_971_000 as u64)519 // Proof Size summary in bytes:
520 // Measured: `285`
521 // Estimated: `59511`
522 // Minimum execution time: 25_287_000 picoseconds.
523 Weight::from_parts(25_741_000, 59511)
312 .saturating_add(RocksDbWeight::get().reads(4 as u64))524 .saturating_add(RocksDbWeight::get().reads(4_u64))
313 .saturating_add(RocksDbWeight::get().writes(6 as u64))525 .saturating_add(RocksDbWeight::get().writes(6_u64))
314 }526 }
315 // Storage: Refungible TokensMinted (r:1 w:1)527 /// Storage: Refungible TokensMinted (r:1 w:1)
316 // Storage: Refungible AccountBalance (r:1 w:1)528 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
529 /// Storage: Refungible AccountBalance (r:1 w:1)
317 // Storage: Refungible TokenProperties (r:4 w:4)530 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
531 /// Storage: Refungible TokenProperties (r:200 w:200)
318 // Storage: Common CollectionPropertyPermissions (r:1 w:0)532 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
533 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
319 // Storage: Refungible Balance (r:0 w:4)534 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
535 /// Storage: Refungible Balance (r:0 w:200)
320 // Storage: Refungible TotalSupply (r:0 w:4)536 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
537 /// Storage: Refungible TotalSupply (r:0 w:200)
321 // Storage: Refungible Owned (r:0 w:4)538 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
539 /// Storage: Refungible Owned (r:0 w:200)
540 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
541 /// The range of component `b` is `[0, 200]`.
322 fn create_multiple_items(b: u32, ) -> Weight {542 fn create_multiple_items(b: u32, ) -> Weight {
323 Weight::from_ref_time(14_049_866 as u64)543 // Proof Size summary in bytes:
544 // Measured: `285`
545 // Estimated: `24232 + b * (35279 ±0)`
546 // Minimum execution time: 4_618_000 picoseconds.
547 Weight::from_parts(1_425_218, 24232)
324 // Standard Error: 4_015548 // Standard Error: 4_343
325 .saturating_add(Weight::from_ref_time(8_984_911 as u64).saturating_mul(b as u64))549 .saturating_add(Weight::from_parts(9_154_733, 0).saturating_mul(b.into()))
326 .saturating_add(RocksDbWeight::get().reads(3 as u64))550 .saturating_add(RocksDbWeight::get().reads(3_u64))
327 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))551 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
328 .saturating_add(RocksDbWeight::get().writes(2 as u64))552 .saturating_add(RocksDbWeight::get().writes(2_u64))
329 .saturating_add(RocksDbWeight::get().writes((4 as u64).saturating_mul(b as u64)))553 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))
554 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))
330 }555 }
331 // Storage: Refungible TokensMinted (r:1 w:1)556 /// Storage: Refungible TokensMinted (r:1 w:1)
332 // Storage: Refungible AccountBalance (r:4 w:4)557 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
558 /// Storage: Refungible AccountBalance (r:200 w:200)
333 // Storage: Refungible TokenProperties (r:4 w:4)559 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
560 /// Storage: Refungible TokenProperties (r:200 w:200)
334 // Storage: Common CollectionPropertyPermissions (r:1 w:0)561 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
562 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
335 // Storage: Refungible Balance (r:0 w:4)563 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
564 /// Storage: Refungible Balance (r:0 w:200)
336 // Storage: Refungible TotalSupply (r:0 w:4)565 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
566 /// Storage: Refungible TotalSupply (r:0 w:200)
337 // Storage: Refungible Owned (r:0 w:4)567 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
568 /// Storage: Refungible Owned (r:0 w:200)
569 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
570 /// The range of component `b` is `[0, 200]`.
338 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {571 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {
339 Weight::from_ref_time(14_893_679 as u64)572 // Proof Size summary in bytes:
573 // Measured: `285`
574 // Estimated: `21692 + b * (37819 ±0)`
575 // Minimum execution time: 4_063_000 picoseconds.
576 Weight::from_parts(4_160_000, 21692)
340 // Standard Error: 3_571577 // Standard Error: 2_386
341 .saturating_add(Weight::from_ref_time(10_611_135 as u64).saturating_mul(b as u64))578 .saturating_add(Weight::from_parts(10_836_802, 0).saturating_mul(b.into()))
342 .saturating_add(RocksDbWeight::get().reads(2 as u64))579 .saturating_add(RocksDbWeight::get().reads(2_u64))
343 .saturating_add(RocksDbWeight::get().reads((2 as u64).saturating_mul(b as u64)))580 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
344 .saturating_add(RocksDbWeight::get().writes(1 as u64))581 .saturating_add(RocksDbWeight::get().writes(1_u64))
345 .saturating_add(RocksDbWeight::get().writes((5 as u64).saturating_mul(b as u64)))582 .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(b.into())))
583 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))
346 }584 }
347 // Storage: Refungible TokensMinted (r:1 w:1)585 /// Storage: Refungible TokensMinted (r:1 w:1)
348 // Storage: Refungible TokenProperties (r:1 w:1)586 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
587 /// Storage: Refungible AccountBalance (r:200 w:200)
588 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
589 /// Storage: Refungible TokenProperties (r:1 w:1)
349 // Storage: Common CollectionPropertyPermissions (r:1 w:0)590 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
591 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
350 // Storage: Refungible TotalSupply (r:0 w:1)592 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
593 /// Storage: Refungible Balance (r:0 w:200)
351 // Storage: Refungible AccountBalance (r:4 w:4)594 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
352 // Storage: Refungible Balance (r:0 w:4)595 /// Storage: Refungible TotalSupply (r:0 w:1)
353 // Storage: Refungible Owned (r:0 w:4)596 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
597 /// Storage: Refungible Owned (r:0 w:200)
598 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
599 /// The range of component `b` is `[0, 200]`.
354 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {600 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {
355 Weight::from_ref_time(31_075_923 as u64)601 // Proof Size summary in bytes:
602 // Measured: `285`
603 // Estimated: `56971 + b * (2540 ±0)`
604 // Minimum execution time: 14_637_000 picoseconds.
605 Weight::from_parts(19_042_423, 56971)
356 // Standard Error: 2_118606 // Standard Error: 1_632
357 .saturating_add(Weight::from_ref_time(5_829_866 as u64).saturating_mul(b as u64))607 .saturating_add(Weight::from_parts(5_976_694, 0).saturating_mul(b.into()))
358 .saturating_add(RocksDbWeight::get().reads(3 as u64))608 .saturating_add(RocksDbWeight::get().reads(3_u64))
359 .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(b as u64)))609 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
360 .saturating_add(RocksDbWeight::get().writes(3 as u64))610 .saturating_add(RocksDbWeight::get().writes(3_u64))
361 .saturating_add(RocksDbWeight::get().writes((3 as u64).saturating_mul(b as u64)))611 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))
612 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))
362 }613 }
363 // Storage: Refungible Balance (r:3 w:1)614 /// Storage: Refungible Balance (r:3 w:1)
364 // Storage: Refungible TotalSupply (r:1 w:1)615 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
616 /// Storage: Refungible TotalSupply (r:1 w:1)
365 // Storage: Refungible AccountBalance (r:1 w:1)617 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
618 /// Storage: Refungible AccountBalance (r:1 w:1)
366 // Storage: Refungible Owned (r:0 w:1)619 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
620 /// Storage: Refungible Owned (r:0 w:1)
621 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
367 fn burn_item_partial() -> Weight {622 fn burn_item_partial() -> Weight {
368 Weight::from_ref_time(47_369_000 as u64)623 // Proof Size summary in bytes:
624 // Measured: `490`
625 // Estimated: `12747`
626 // Minimum execution time: 35_018_000 picoseconds.
627 Weight::from_parts(35_596_000, 12747)
369 .saturating_add(RocksDbWeight::get().reads(5 as u64))628 .saturating_add(RocksDbWeight::get().reads(5_u64))
370 .saturating_add(RocksDbWeight::get().writes(4 as u64))629 .saturating_add(RocksDbWeight::get().writes(4_u64))
371 }630 }
372 // Storage: Refungible Balance (r:1 w:1)631 /// Storage: Refungible Balance (r:1 w:1)
373 // Storage: Refungible TotalSupply (r:1 w:1)632 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
633 /// Storage: Refungible TotalSupply (r:1 w:1)
374 // Storage: Refungible AccountBalance (r:1 w:1)634 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
635 /// Storage: Refungible AccountBalance (r:1 w:1)
375 // Storage: Refungible TokensBurnt (r:1 w:1)636 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
637 /// Storage: Refungible TokensBurnt (r:1 w:1)
376 // Storage: Refungible Owned (r:0 w:1)638 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
639 /// Storage: Refungible Owned (r:0 w:1)
377 // Storage: Refungible TokenProperties (r:0 w:1)640 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
641 /// Storage: Refungible TokenProperties (r:0 w:1)
642 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
378 fn burn_item_fully() -> Weight {643 fn burn_item_fully() -> Weight {
379 Weight::from_ref_time(41_351_000 as u64)644 // Proof Size summary in bytes:
645 // Measured: `375`
646 // Estimated: `10110`
647 // Minimum execution time: 30_441_000 picoseconds.
648 Weight::from_parts(31_000_000, 10110)
380 .saturating_add(RocksDbWeight::get().reads(4 as u64))649 .saturating_add(RocksDbWeight::get().reads(4_u64))
381 .saturating_add(RocksDbWeight::get().writes(6 as u64))650 .saturating_add(RocksDbWeight::get().writes(6_u64))
382 }651 }
383 // Storage: Refungible Balance (r:2 w:2)652 /// Storage: Refungible Balance (r:2 w:2)
384 // Storage: Refungible TotalSupply (r:1 w:0)653 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
654 /// Storage: Refungible TotalSupply (r:1 w:0)
655 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
385 fn transfer_normal() -> Weight {656 fn transfer_normal() -> Weight {
386 Weight::from_ref_time(31_379_000 as u64)657 // Proof Size summary in bytes:
658 // Measured: `398`
659 // Estimated: `7643`
660 // Minimum execution time: 20_055_000 picoseconds.
661 Weight::from_parts(20_533_000, 7643)
387 .saturating_add(RocksDbWeight::get().reads(3 as u64))662 .saturating_add(RocksDbWeight::get().reads(3_u64))
388 .saturating_add(RocksDbWeight::get().writes(2 as u64))663 .saturating_add(RocksDbWeight::get().writes(2_u64))
389 }664 }
390 // Storage: Refungible Balance (r:2 w:2)665 /// Storage: Refungible Balance (r:2 w:2)
391 // Storage: Refungible AccountBalance (r:1 w:1)666 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
667 /// Storage: Refungible AccountBalance (r:1 w:1)
392 // Storage: Refungible TotalSupply (r:1 w:0)668 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
669 /// Storage: Refungible TotalSupply (r:1 w:0)
393 // Storage: Refungible Owned (r:0 w:1)670 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
671 /// Storage: Refungible Owned (r:0 w:1)
672 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
394 fn transfer_creating() -> Weight {673 fn transfer_creating() -> Weight {
395 Weight::from_ref_time(34_829_000 as u64)674 // Proof Size summary in bytes:
675 // Measured: `375`
676 // Estimated: `10183`
677 // Minimum execution time: 23_443_000 picoseconds.
678 Weight::from_parts(23_791_000, 10183)
396 .saturating_add(RocksDbWeight::get().reads(4 as u64))679 .saturating_add(RocksDbWeight::get().reads(4_u64))
397 .saturating_add(RocksDbWeight::get().writes(4 as u64))680 .saturating_add(RocksDbWeight::get().writes(4_u64))
398 }681 }
399 // Storage: Refungible Balance (r:2 w:2)682 /// Storage: Refungible Balance (r:2 w:2)
400 // Storage: Refungible AccountBalance (r:1 w:1)683 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
684 /// Storage: Refungible AccountBalance (r:1 w:1)
401 // Storage: Refungible TotalSupply (r:1 w:0)685 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
686 /// Storage: Refungible TotalSupply (r:1 w:0)
402 // Storage: Refungible Owned (r:0 w:1)687 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
688 /// Storage: Refungible Owned (r:0 w:1)
689 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
403 fn transfer_removing() -> Weight {690 fn transfer_removing() -> Weight {
404 Weight::from_ref_time(38_221_000 as u64)691 // Proof Size summary in bytes:
692 // Measured: `490`
693 // Estimated: `10183`
694 // Minimum execution time: 26_489_000 picoseconds.
695 Weight::from_parts(27_103_000, 10183)
405 .saturating_add(RocksDbWeight::get().reads(4 as u64))696 .saturating_add(RocksDbWeight::get().reads(4_u64))
406 .saturating_add(RocksDbWeight::get().writes(4 as u64))697 .saturating_add(RocksDbWeight::get().writes(4_u64))
407 }698 }
408 // Storage: Refungible Balance (r:2 w:2)699 /// Storage: Refungible Balance (r:2 w:2)
409 // Storage: Refungible AccountBalance (r:2 w:2)700 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
701 /// Storage: Refungible AccountBalance (r:2 w:2)
410 // Storage: Refungible TotalSupply (r:1 w:0)702 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
703 /// Storage: Refungible TotalSupply (r:1 w:0)
411 // Storage: Refungible Owned (r:0 w:2)704 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
705 /// Storage: Refungible Owned (r:0 w:2)
706 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
412 fn transfer_creating_removing() -> Weight {707 fn transfer_creating_removing() -> Weight {
413 Weight::from_ref_time(38_102_000 as u64)708 // Proof Size summary in bytes:
709 // Measured: `375`
710 // Estimated: `12723`
711 // Minimum execution time: 26_719_000 picoseconds.
712 Weight::from_parts(27_038_000, 12723)
414 .saturating_add(RocksDbWeight::get().reads(5 as u64))713 .saturating_add(RocksDbWeight::get().reads(5_u64))
415 .saturating_add(RocksDbWeight::get().writes(6 as u64))714 .saturating_add(RocksDbWeight::get().writes(6_u64))
416 }715 }
417 // Storage: Refungible Balance (r:1 w:0)716 /// Storage: Refungible Balance (r:1 w:0)
418 // Storage: Refungible Allowance (r:0 w:1)717 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
718 /// Storage: Refungible Allowance (r:0 w:1)
719 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
419 fn approve() -> Weight {720 fn approve() -> Weight {
420 Weight::from_ref_time(24_217_000 as u64)721 // Proof Size summary in bytes:
722 // Measured: `256`
723 // Estimated: `2564`
724 // Minimum execution time: 12_949_000 picoseconds.
725 Weight::from_parts(13_181_000, 2564)
421 .saturating_add(RocksDbWeight::get().reads(1 as u64))726 .saturating_add(RocksDbWeight::get().reads(1_u64))
422 .saturating_add(RocksDbWeight::get().writes(1 as u64))727 .saturating_add(RocksDbWeight::get().writes(1_u64))
423 }728 }
424 // Storage: Refungible Balance (r:1 w:0)729 /// Storage: Refungible Balance (r:1 w:0)
425 // Storage: Refungible Allowance (r:0 w:1)730 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
731 /// Storage: Refungible Allowance (r:0 w:1)
732 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
426 fn approve_from() -> Weight {733 fn approve_from() -> Weight {
427 Weight::from_ref_time(24_173_000 as u64)734 // Proof Size summary in bytes:
735 // Measured: `244`
736 // Estimated: `2564`
737 // Minimum execution time: 12_942_000 picoseconds.
738 Weight::from_parts(13_268_000, 2564)
428 .saturating_add(RocksDbWeight::get().reads(1 as u64))739 .saturating_add(RocksDbWeight::get().reads(1_u64))
429 .saturating_add(RocksDbWeight::get().writes(1 as u64))740 .saturating_add(RocksDbWeight::get().writes(1_u64))
430 }741 }
431 // Storage: Refungible Allowance (r:1 w:1)742 /// Storage: Refungible Allowance (r:1 w:1)
432 // Storage: Refungible Balance (r:2 w:2)743 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
744 /// Storage: Refungible Balance (r:2 w:2)
433 // Storage: Refungible TotalSupply (r:1 w:0)745 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
746 /// Storage: Refungible TotalSupply (r:1 w:0)
747 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
434 fn transfer_from_normal() -> Weight {748 fn transfer_from_normal() -> Weight {
435 Weight::from_ref_time(40_040_000 as u64)749 // Proof Size summary in bytes:
750 // Measured: `528`
751 // Estimated: `10223`
752 // Minimum execution time: 28_907_000 picoseconds.
753 Weight::from_parts(29_487_000, 10223)
436 .saturating_add(RocksDbWeight::get().reads(4 as u64))754 .saturating_add(RocksDbWeight::get().reads(4_u64))
437 .saturating_add(RocksDbWeight::get().writes(3 as u64))755 .saturating_add(RocksDbWeight::get().writes(3_u64))
438 }756 }
439 // Storage: Refungible Allowance (r:1 w:1)757 /// Storage: Refungible Allowance (r:1 w:1)
440 // Storage: Refungible Balance (r:2 w:2)758 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
759 /// Storage: Refungible Balance (r:2 w:2)
441 // Storage: Refungible AccountBalance (r:1 w:1)760 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
761 /// Storage: Refungible AccountBalance (r:1 w:1)
442 // Storage: Refungible TotalSupply (r:1 w:0)762 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
763 /// Storage: Refungible TotalSupply (r:1 w:0)
443 // Storage: Refungible Owned (r:0 w:1)764 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
765 /// Storage: Refungible Owned (r:0 w:1)
766 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
444 fn transfer_from_creating() -> Weight {767 fn transfer_from_creating() -> Weight {
445 Weight::from_ref_time(42_906_000 as u64)768 // Proof Size summary in bytes:
769 // Measured: `505`
770 // Estimated: `12763`
771 // Minimum execution time: 31_271_000 picoseconds.
772 Weight::from_parts(32_293_000, 12763)
446 .saturating_add(RocksDbWeight::get().reads(5 as u64))773 .saturating_add(RocksDbWeight::get().reads(5_u64))
447 .saturating_add(RocksDbWeight::get().writes(5 as u64))774 .saturating_add(RocksDbWeight::get().writes(5_u64))
448 }775 }
449 // Storage: Refungible Allowance (r:1 w:1)776 /// Storage: Refungible Allowance (r:1 w:1)
450 // Storage: Refungible Balance (r:2 w:2)777 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
778 /// Storage: Refungible Balance (r:2 w:2)
451 // Storage: Refungible AccountBalance (r:1 w:1)779 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
780 /// Storage: Refungible AccountBalance (r:1 w:1)
452 // Storage: Refungible TotalSupply (r:1 w:0)781 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
782 /// Storage: Refungible TotalSupply (r:1 w:0)
453 // Storage: Refungible Owned (r:0 w:1)783 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
784 /// Storage: Refungible Owned (r:0 w:1)
785 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
454 fn transfer_from_removing() -> Weight {786 fn transfer_from_removing() -> Weight {
455 Weight::from_ref_time(46_112_000 as u64)787 // Proof Size summary in bytes:
788 // Measured: `620`
789 // Estimated: `12763`
790 // Minimum execution time: 34_295_000 picoseconds.
791 Weight::from_parts(34_924_000, 12763)
456 .saturating_add(RocksDbWeight::get().reads(5 as u64))792 .saturating_add(RocksDbWeight::get().reads(5_u64))
457 .saturating_add(RocksDbWeight::get().writes(5 as u64))793 .saturating_add(RocksDbWeight::get().writes(5_u64))
458 }794 }
459 // Storage: Refungible Allowance (r:1 w:1)795 /// Storage: Refungible Allowance (r:1 w:1)
460 // Storage: Refungible Balance (r:2 w:2)796 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
797 /// Storage: Refungible Balance (r:2 w:2)
461 // Storage: Refungible AccountBalance (r:2 w:2)798 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
799 /// Storage: Refungible AccountBalance (r:2 w:2)
462 // Storage: Refungible TotalSupply (r:1 w:0)800 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
801 /// Storage: Refungible TotalSupply (r:1 w:0)
463 // Storage: Refungible Owned (r:0 w:2)802 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
803 /// Storage: Refungible Owned (r:0 w:2)
804 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
464 fn transfer_from_creating_removing() -> Weight {805 fn transfer_from_creating_removing() -> Weight {
465 Weight::from_ref_time(45_102_000 as u64)806 // Proof Size summary in bytes:
807 // Measured: `505`
808 // Estimated: `15303`
809 // Minimum execution time: 35_447_000 picoseconds.
810 Weight::from_parts(35_896_000, 15303)
466 .saturating_add(RocksDbWeight::get().reads(6 as u64))811 .saturating_add(RocksDbWeight::get().reads(6_u64))
467 .saturating_add(RocksDbWeight::get().writes(7 as u64))812 .saturating_add(RocksDbWeight::get().writes(7_u64))
468 }813 }
469 // Storage: Refungible Allowance (r:1 w:1)814 /// Storage: Refungible Allowance (r:1 w:1)
470 // Storage: Refungible Balance (r:1 w:1)815 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)
816 /// Storage: Refungible Balance (r:1 w:1)
471 // Storage: Refungible TotalSupply (r:1 w:1)817 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
818 /// Storage: Refungible TotalSupply (r:1 w:1)
472 // Storage: Refungible AccountBalance (r:1 w:1)819 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
820 /// Storage: Refungible AccountBalance (r:1 w:1)
473 // Storage: Refungible TokensBurnt (r:1 w:1)821 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
822 /// Storage: Refungible TokensBurnt (r:1 w:1)
474 // Storage: Refungible Owned (r:0 w:1)823 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
824 /// Storage: Refungible Owned (r:0 w:1)
475 // Storage: Refungible TokenProperties (r:0 w:1)825 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
826 /// Storage: Refungible TokenProperties (r:0 w:1)
827 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
476 fn burn_from() -> Weight {828 fn burn_from() -> Weight {
477 Weight::from_ref_time(50_573_000 as u64)829 // Proof Size summary in bytes:
830 // Measured: `505`
831 // Estimated: `12690`
832 // Minimum execution time: 39_395_000 picoseconds.
833 Weight::from_parts(40_119_000, 12690)
478 .saturating_add(RocksDbWeight::get().reads(5 as u64))834 .saturating_add(RocksDbWeight::get().reads(5_u64))
479 .saturating_add(RocksDbWeight::get().writes(7 as u64))835 .saturating_add(RocksDbWeight::get().writes(7_u64))
480 }836 }
481 // Storage: Common CollectionPropertyPermissions (r:1 w:1)837 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)
838 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
839 /// The range of component `b` is `[0, 64]`.
482 fn set_token_property_permissions(b: u32, ) -> Weight {840 fn set_token_property_permissions(b: u32, ) -> Weight {
483 Weight::from_ref_time(5_349_000 as u64)841 // Proof Size summary in bytes:
842 // Measured: `281`
843 // Estimated: `19201`
844 // Minimum execution time: 2_337_000 picoseconds.
845 Weight::from_parts(2_434_000, 19201)
484 // Standard Error: 41_409846 // Standard Error: 43_425
485 .saturating_add(Weight::from_ref_time(12_216_721 as u64).saturating_mul(b as u64))847 .saturating_add(Weight::from_parts(12_286_502, 0).saturating_mul(b.into()))
486 .saturating_add(RocksDbWeight::get().reads(1 as u64))848 .saturating_add(RocksDbWeight::get().reads(1_u64))
487 .saturating_add(RocksDbWeight::get().writes(1 as u64))849 .saturating_add(RocksDbWeight::get().writes(1_u64))
488 }850 }
489 // Storage: Refungible TokenProperties (r:1 w:1)851 /// Storage: Refungible TokenProperties (r:1 w:1)
490 // Storage: Common CollectionPropertyPermissions (r:1 w:0)852 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
853 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
854 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
855 /// The range of component `b` is `[0, 64]`.
491 fn set_token_properties(b: u32, ) -> Weight {856 fn set_token_properties(b: u32, ) -> Weight {
492 Weight::from_ref_time(12_947_117 as u64)857 // Proof Size summary in bytes:
858 // Measured: `490 + b * (261 ±0)`
859 // Estimated: `54480`
860 // Minimum execution time: 11_857_000 picoseconds.
861 Weight::from_parts(12_007_000, 54480)
493 // Standard Error: 75_487862 // Standard Error: 22_963
494 .saturating_add(Weight::from_ref_time(6_809_149 as u64).saturating_mul(b as u64))863 .saturating_add(Weight::from_parts(6_609_180, 0).saturating_mul(b.into()))
495 .saturating_add(RocksDbWeight::get().reads(2 as u64))864 .saturating_add(RocksDbWeight::get().reads(2_u64))
496 .saturating_add(RocksDbWeight::get().writes(1 as u64))865 .saturating_add(RocksDbWeight::get().writes(1_u64))
497 }866 }
498 // Storage: Refungible TokenProperties (r:1 w:1)867 /// Storage: Refungible TokenProperties (r:1 w:1)
499 // Storage: Common CollectionPropertyPermissions (r:1 w:0)868 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
869 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
870 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
871 /// The range of component `b` is `[0, 64]`.
500 fn delete_token_properties(b: u32, ) -> Weight {872 fn delete_token_properties(b: u32, ) -> Weight {
501 Weight::from_ref_time(14_967_000 as u64)873 // Proof Size summary in bytes:
874 // Measured: `527 + b * (33291 ±0)`
875 // Estimated: `54480`
876 // Minimum execution time: 12_001_000 picoseconds.
877 Weight::from_parts(12_197_000, 54480)
502 // Standard Error: 66_400878 // Standard Error: 70_580
503 .saturating_add(Weight::from_ref_time(22_261_821 as u64).saturating_mul(b as u64))879 .saturating_add(Weight::from_parts(21_847_004, 0).saturating_mul(b.into()))
504 .saturating_add(RocksDbWeight::get().reads(2 as u64))880 .saturating_add(RocksDbWeight::get().reads(2_u64))
505 .saturating_add(RocksDbWeight::get().writes(1 as u64))881 .saturating_add(RocksDbWeight::get().writes(1_u64))
506 }882 }
507 // Storage: Refungible TotalSupply (r:1 w:1)883 /// Storage: Refungible TotalSupply (r:1 w:1)
508 // Storage: Refungible Balance (r:1 w:1)884 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)
885 /// Storage: Refungible Balance (r:1 w:1)
886 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
509 fn repartition_item() -> Weight {887 fn repartition_item() -> Weight {
510 Weight::from_ref_time(25_823_000 as u64)888 // Proof Size summary in bytes:
889 // Measured: `321`
890 // Estimated: `5079`
891 // Minimum execution time: 14_497_000 picoseconds.
892 Weight::from_parts(14_825_000, 5079)
511 .saturating_add(RocksDbWeight::get().reads(2 as u64))893 .saturating_add(RocksDbWeight::get().reads(2_u64))
512 .saturating_add(RocksDbWeight::get().writes(2 as u64))894 .saturating_add(RocksDbWeight::get().writes(2_u64))
513 }895 }
514 // Storage: Refungible Balance (r:2 w:0)896 /// Storage: Refungible Balance (r:2 w:0)
897 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)
515 fn token_owner() -> Weight {898 fn token_owner() -> Weight {
516 Weight::from_ref_time(9_445_000 as u64)899 // Proof Size summary in bytes:
900 // Measured: `321`
901 // Estimated: `5128`
902 // Minimum execution time: 8_888_000 picoseconds.
903 Weight::from_parts(9_373_000, 5128)
517 .saturating_add(RocksDbWeight::get().reads(2 as u64))904 .saturating_add(RocksDbWeight::get().reads(2_u64))
518 }905 }
519 // Storage: Refungible CollectionAllowance (r:0 w:1)906 /// Storage: Refungible CollectionAllowance (r:0 w:1)
907 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
520 fn set_allowance_for_all() -> Weight {908 fn set_allowance_for_all() -> Weight {
521 Weight::from_ref_time(17_303_000 as u64)909 // Proof Size summary in bytes:
910 // Measured: `0`
911 // Estimated: `0`
912 // Minimum execution time: 7_042_000 picoseconds.
913 Weight::from_parts(7_245_000, 0)
522 .saturating_add(RocksDbWeight::get().writes(1 as u64))914 .saturating_add(RocksDbWeight::get().writes(1_u64))
523 }915 }
524 // Storage: Refungible CollectionAllowance (r:1 w:0)916 /// Storage: Refungible CollectionAllowance (r:1 w:0)
917 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
525 fn allowance_for_all() -> Weight {918 fn allowance_for_all() -> Weight {
526 Weight::from_ref_time(5_352_000 as u64)919 // Proof Size summary in bytes:
920 // Measured: `4`
921 // Estimated: `2586`
922 // Minimum execution time: 3_425_000 picoseconds.
923 Weight::from_parts(3_554_000, 2586)
527 .saturating_add(RocksDbWeight::get().reads(1 as u64))924 .saturating_add(RocksDbWeight::get().reads(1_u64))
528 }925 }
529 // Storage: Refungible TokenProperties (r:1 w:1)926 /// Storage: Refungible TokenProperties (r:1 w:1)
927 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
530 fn repair_item() -> Weight {928 fn repair_item() -> Weight {
531 Weight::from_ref_time(7_200_000 as u64)929 // Proof Size summary in bytes:
930 // Measured: `174`
931 // Estimated: `35279`
932 // Minimum execution time: 4_684_000 picoseconds.
933 Weight::from_parts(4_805_000, 35279)
532 .saturating_add(RocksDbWeight::get().reads(1 as u64))934 .saturating_add(RocksDbWeight::get().reads(1_u64))
533 .saturating_add(RocksDbWeight::get().writes(1 as u64))935 .saturating_add(RocksDbWeight::get().writes(1_u64))
534 }936 }
535}937}
938
536939
modifiedpallets/structure/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_structure3//! Autogenerated weights for pallet_structure
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template
20// .maintain/frame-weight-template.hbs20// --template=.maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
40/// Weights for pallet_structure using the Substrate node and recommended hardware.40/// Weights for pallet_structure using the Substrate node and recommended hardware.
41pub struct SubstrateWeight<T>(PhantomData<T>);41pub struct SubstrateWeight<T>(PhantomData<T>);
42impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {42impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
43 // Storage: Common CollectionById (r:1 w:0)43 /// Storage: Common CollectionById (r:1 w:0)
44 // Storage: Nonfungible TokenData (r:1 w:0)44 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
45 /// Storage: Nonfungible TokenData (r:1 w:0)
46 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
45 fn find_parent() -> Weight {47 fn find_parent() -> Weight {
48 // Proof Size summary in bytes:
49 // Measured: `698`
50 // Estimated: `5867`
51 // Minimum execution time: 9_834_000 picoseconds.
46 Weight::from_ref_time(11_663_000 as u64)52 Weight::from_parts(10_073_000, 5867)
47 .saturating_add(T::DbWeight::get().reads(2 as u64))53 .saturating_add(T::DbWeight::get().reads(2_u64))
48 }54 }
49}55}
5056
51// For backwards compatibility and tests57// For backwards compatibility and tests
52impl WeightInfo for () {58impl WeightInfo for () {
53 // Storage: Common CollectionById (r:1 w:0)59 /// Storage: Common CollectionById (r:1 w:0)
54 // Storage: Nonfungible TokenData (r:1 w:0)60 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
61 /// Storage: Nonfungible TokenData (r:1 w:0)
62 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
55 fn find_parent() -> Weight {63 fn find_parent() -> Weight {
64 // Proof Size summary in bytes:
65 // Measured: `698`
66 // Estimated: `5867`
67 // Minimum execution time: 9_834_000 picoseconds.
56 Weight::from_ref_time(11_663_000 as u64)68 Weight::from_parts(10_073_000, 5867)
57 .saturating_add(RocksDbWeight::get().reads(2 as u64))69 .saturating_add(RocksDbWeight::get().reads(2_u64))
58 }70 }
59}71}
6072
modifiedpallets/unique/src/weights.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_unique3//! Autogenerated weights for pallet_unique
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-02-15, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
7//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
89
9// Executed Command:10// Executed Command:
16// compiled17// compiled
17// --extrinsic18// --extrinsic
18// *19// *
19// --template
20// .maintain/frame-weight-template.hbs20// --template=.maintain/frame-weight-template.hbs
21// --steps=5021// --steps=50
22// --repeat=8022// --repeat=80
23// --heap-pages=409623// --heap-pages=4096
52/// Weights for pallet_unique using the Substrate node and recommended hardware.52/// Weights for pallet_unique using the Substrate node and recommended hardware.
53pub struct SubstrateWeight<T>(PhantomData<T>);53pub struct SubstrateWeight<T>(PhantomData<T>);
54impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {54impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
55 // Storage: Common CreatedCollectionCount (r:1 w:1)55 /// Storage: Common CreatedCollectionCount (r:1 w:1)
56 /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
56 // Storage: Common DestroyedCollectionCount (r:1 w:0)57 /// Storage: Common DestroyedCollectionCount (r:1 w:0)
58 /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
57 // Storage: System Account (r:2 w:2)59 /// Storage: System Account (r:2 w:2)
60 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
58 // Storage: Common CollectionPropertyPermissions (r:0 w:1)61 /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
62 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
59 // Storage: Common CollectionProperties (r:0 w:1)63 /// Storage: Common CollectionProperties (r:0 w:1)
64 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
60 // Storage: Common CollectionById (r:0 w:1)65 /// Storage: Common CollectionById (r:0 w:1)
66 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
61 fn create_collection() -> Weight {67 fn create_collection() -> Weight {
68 // Proof Size summary in bytes:
69 // Measured: `277`
70 // Estimated: `6204`
71 // Minimum execution time: 37_430_000 picoseconds.
62 Weight::from_ref_time(47_681_000 as u64)72 Weight::from_parts(42_154_000, 6204)
63 .saturating_add(T::DbWeight::get().reads(4 as u64))73 .saturating_add(T::DbWeight::get().reads(4_u64))
64 .saturating_add(T::DbWeight::get().writes(6 as u64))74 .saturating_add(T::DbWeight::get().writes(6_u64))
65 }75 }
66 // Storage: Common CollectionById (r:1 w:1)76 /// Storage: Common CollectionById (r:1 w:1)
77 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
67 // Storage: Nonfungible TokenData (r:1 w:0)78 /// Storage: Nonfungible TokenData (r:1 w:0)
79 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
68 // Storage: Common DestroyedCollectionCount (r:1 w:1)80 /// Storage: Common DestroyedCollectionCount (r:1 w:1)
81 /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
69 // Storage: Nonfungible TokensMinted (r:0 w:1)82 /// Storage: Nonfungible TokensMinted (r:0 w:1)
83 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
70 // Storage: Nonfungible TokensBurnt (r:0 w:1)84 /// Storage: Nonfungible TokensBurnt (r:0 w:1)
85 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
71 // Storage: Common AdminAmount (r:0 w:1)86 /// Storage: Common AdminAmount (r:0 w:1)
87 /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
72 // Storage: Common CollectionProperties (r:0 w:1)88 /// Storage: Common CollectionProperties (r:0 w:1)
89 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
73 fn destroy_collection() -> Weight {90 fn destroy_collection() -> Weight {
91 // Proof Size summary in bytes:
92 // Measured: `1118`
93 // Estimated: `6366`
94 // Minimum execution time: 51_399_000 picoseconds.
74 Weight::from_ref_time(58_371_000 as u64)95 Weight::from_parts(52_256_000, 6366)
75 .saturating_add(T::DbWeight::get().reads(3 as u64))96 .saturating_add(T::DbWeight::get().reads(3_u64))
76 .saturating_add(T::DbWeight::get().writes(6 as u64))97 .saturating_add(T::DbWeight::get().writes(6_u64))
77 }98 }
78 // Storage: Common CollectionById (r:1 w:0)99 /// Storage: Common CollectionById (r:1 w:0)
79 // Storage: Common Allowlist (r:0 w:1)100 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
101 /// Storage: Common Allowlist (r:0 w:1)
102 /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
80 fn add_to_allow_list() -> Weight {103 fn add_to_allow_list() -> Weight {
104 // Proof Size summary in bytes:
105 // Measured: `999`
106 // Estimated: `3335`
107 // Minimum execution time: 16_355_000 picoseconds.
81 Weight::from_ref_time(28_197_000 as u64)108 Weight::from_parts(16_737_000, 3335)
82 .saturating_add(T::DbWeight::get().reads(1 as u64))109 .saturating_add(T::DbWeight::get().reads(1_u64))
83 .saturating_add(T::DbWeight::get().writes(1 as u64))110 .saturating_add(T::DbWeight::get().writes(1_u64))
84 }111 }
85 // Storage: Common CollectionById (r:1 w:0)112 /// Storage: Common CollectionById (r:1 w:0)
86 // Storage: Common Allowlist (r:0 w:1)113 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
114 /// Storage: Common Allowlist (r:0 w:1)
115 /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
87 fn remove_from_allow_list() -> Weight {116 fn remove_from_allow_list() -> Weight {
117 // Proof Size summary in bytes:
118 // Measured: `1032`
119 // Estimated: `3335`
120 // Minimum execution time: 15_812_000 picoseconds.
88 Weight::from_ref_time(27_782_000 as u64)121 Weight::from_parts(16_102_000, 3335)
89 .saturating_add(T::DbWeight::get().reads(1 as u64))122 .saturating_add(T::DbWeight::get().reads(1_u64))
90 .saturating_add(T::DbWeight::get().writes(1 as u64))123 .saturating_add(T::DbWeight::get().writes(1_u64))
91 }124 }
92 // Storage: Common CollectionById (r:1 w:1)125 /// Storage: Common CollectionById (r:1 w:1)
126 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
93 fn change_collection_owner() -> Weight {127 fn change_collection_owner() -> Weight {
128 // Proof Size summary in bytes:
129 // Measured: `999`
130 // Estimated: `3335`
131 // Minimum execution time: 15_072_000 picoseconds.
94 Weight::from_ref_time(27_100_000 as u64)132 Weight::from_parts(15_540_000, 3335)
95 .saturating_add(T::DbWeight::get().reads(1 as u64))133 .saturating_add(T::DbWeight::get().reads(1_u64))
96 .saturating_add(T::DbWeight::get().writes(1 as u64))134 .saturating_add(T::DbWeight::get().writes(1_u64))
97 }135 }
98 // Storage: Common CollectionById (r:1 w:0)136 /// Storage: Common CollectionById (r:1 w:0)
99 // Storage: Common IsAdmin (r:1 w:1)137 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
100 // Storage: Common AdminAmount (r:1 w:1)138 /// Storage: Common IsAdmin (r:1 w:1)
139 /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
140 /// Storage: Common AdminAmount (r:1 w:1)
141 /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
101 fn add_collection_admin() -> Weight {142 fn add_collection_admin() -> Weight {
143 // Proof Size summary in bytes:
144 // Measured: `999`
145 // Estimated: `8379`
146 // Minimum execution time: 18_268_000 picoseconds.
102 Weight::from_ref_time(31_037_000 as u64)147 Weight::from_parts(18_931_000, 8379)
103 .saturating_add(T::DbWeight::get().reads(3 as u64))148 .saturating_add(T::DbWeight::get().reads(3_u64))
104 .saturating_add(T::DbWeight::get().writes(2 as u64))149 .saturating_add(T::DbWeight::get().writes(2_u64))
105 }150 }
106 // Storage: Common CollectionById (r:1 w:0)151 /// Storage: Common CollectionById (r:1 w:0)
107 // Storage: Common IsAdmin (r:1 w:1)152 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
108 // Storage: Common AdminAmount (r:1 w:1)153 /// Storage: Common IsAdmin (r:1 w:1)
154 /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
155 /// Storage: Common AdminAmount (r:1 w:1)
156 /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
109 fn remove_collection_admin() -> Weight {157 fn remove_collection_admin() -> Weight {
158 // Proof Size summary in bytes:
159 // Measured: `1139`
160 // Estimated: `8379`
161 // Minimum execution time: 21_786_000 picoseconds.
110 Weight::from_ref_time(34_543_000 as u64)162 Weight::from_parts(22_088_000, 8379)
111 .saturating_add(T::DbWeight::get().reads(3 as u64))163 .saturating_add(T::DbWeight::get().reads(3_u64))
112 .saturating_add(T::DbWeight::get().writes(2 as u64))164 .saturating_add(T::DbWeight::get().writes(2_u64))
113 }165 }
114 // Storage: Common CollectionById (r:1 w:1)166 /// Storage: Common CollectionById (r:1 w:1)
167 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
115 fn set_collection_sponsor() -> Weight {168 fn set_collection_sponsor() -> Weight {
169 // Proof Size summary in bytes:
170 // Measured: `999`
171 // Estimated: `3335`
172 // Minimum execution time: 15_245_000 picoseconds.
116 Weight::from_ref_time(27_109_000 as u64)173 Weight::from_parts(15_574_000, 3335)
117 .saturating_add(T::DbWeight::get().reads(1 as u64))174 .saturating_add(T::DbWeight::get().reads(1_u64))
118 .saturating_add(T::DbWeight::get().writes(1 as u64))175 .saturating_add(T::DbWeight::get().writes(1_u64))
119 }176 }
120 // Storage: Common CollectionById (r:1 w:1)177 /// Storage: Common CollectionById (r:1 w:1)
178 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
121 fn confirm_sponsorship() -> Weight {179 fn confirm_sponsorship() -> Weight {
180 // Proof Size summary in bytes:
181 // Measured: `1031`
182 // Estimated: `3335`
183 // Minimum execution time: 15_073_000 picoseconds.
122 Weight::from_ref_time(26_916_000 as u64)184 Weight::from_parts(15_407_000, 3335)
123 .saturating_add(T::DbWeight::get().reads(1 as u64))185 .saturating_add(T::DbWeight::get().reads(1_u64))
124 .saturating_add(T::DbWeight::get().writes(1 as u64))186 .saturating_add(T::DbWeight::get().writes(1_u64))
125 }187 }
126 // Storage: Common CollectionById (r:1 w:1)188 /// Storage: Common CollectionById (r:1 w:1)
189 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
127 fn remove_collection_sponsor() -> Weight {190 fn remove_collection_sponsor() -> Weight {
191 // Proof Size summary in bytes:
192 // Measured: `1031`
193 // Estimated: `3335`
194 // Minimum execution time: 14_938_000 picoseconds.
128 Weight::from_ref_time(29_279_000 as u64)195 Weight::from_parts(15_262_000, 3335)
129 .saturating_add(T::DbWeight::get().reads(1 as u64))196 .saturating_add(T::DbWeight::get().reads(1_u64))
130 .saturating_add(T::DbWeight::get().writes(1 as u64))197 .saturating_add(T::DbWeight::get().writes(1_u64))
131 }198 }
132 // Storage: Common CollectionById (r:1 w:1)199 /// Storage: Common CollectionById (r:1 w:1)
200 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
133 fn set_transfers_enabled_flag() -> Weight {201 fn set_transfers_enabled_flag() -> Weight {
202 // Proof Size summary in bytes:
203 // Measured: `999`
204 // Estimated: `3335`
205 // Minimum execution time: 10_318_000 picoseconds.
134 Weight::from_ref_time(13_064_000 as u64)206 Weight::from_parts(10_652_000, 3335)
135 .saturating_add(T::DbWeight::get().reads(1 as u64))207 .saturating_add(T::DbWeight::get().reads(1_u64))
136 .saturating_add(T::DbWeight::get().writes(1 as u64))208 .saturating_add(T::DbWeight::get().writes(1_u64))
137 }209 }
138 // Storage: Common CollectionById (r:1 w:1)210 /// Storage: Common CollectionById (r:1 w:1)
211 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
139 fn set_collection_limits() -> Weight {212 fn set_collection_limits() -> Weight {
213 // Proof Size summary in bytes:
214 // Measured: `999`
215 // Estimated: `3335`
216 // Minimum execution time: 15_535_000 picoseconds.
140 Weight::from_ref_time(27_442_000 as u64)217 Weight::from_parts(15_937_000, 3335)
141 .saturating_add(T::DbWeight::get().reads(1 as u64))218 .saturating_add(T::DbWeight::get().reads(1_u64))
142 .saturating_add(T::DbWeight::get().writes(1 as u64))219 .saturating_add(T::DbWeight::get().writes(1_u64))
143 }220 }
144 // Storage: Common CollectionProperties (r:1 w:1)221 /// Storage: Common CollectionProperties (r:1 w:1)
222 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
145 fn force_repair_collection() -> Weight {223 fn force_repair_collection() -> Weight {
224 // Proof Size summary in bytes:
225 // Measured: `265`
226 // Estimated: `43467`
227 // Minimum execution time: 8_178_000 picoseconds.
146 Weight::from_ref_time(10_730_000 as u64)228 Weight::from_parts(8_390_000, 43467)
147 .saturating_add(T::DbWeight::get().reads(1 as u64))229 .saturating_add(T::DbWeight::get().reads(1_u64))
148 .saturating_add(T::DbWeight::get().writes(1 as u64))230 .saturating_add(T::DbWeight::get().writes(1_u64))
149 }231 }
150}232}
151233
152// For backwards compatibility and tests234// For backwards compatibility and tests
153impl WeightInfo for () {235impl WeightInfo for () {
154 // Storage: Common CreatedCollectionCount (r:1 w:1)236 /// Storage: Common CreatedCollectionCount (r:1 w:1)
237 /// Proof: Common CreatedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
155 // Storage: Common DestroyedCollectionCount (r:1 w:0)238 /// Storage: Common DestroyedCollectionCount (r:1 w:0)
239 /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
156 // Storage: System Account (r:2 w:2)240 /// Storage: System Account (r:2 w:2)
241 /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)
157 // Storage: Common CollectionPropertyPermissions (r:0 w:1)242 /// Storage: Common CollectionPropertyPermissions (r:0 w:1)
243 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
158 // Storage: Common CollectionProperties (r:0 w:1)244 /// Storage: Common CollectionProperties (r:0 w:1)
245 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
159 // Storage: Common CollectionById (r:0 w:1)246 /// Storage: Common CollectionById (r:0 w:1)
247 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
160 fn create_collection() -> Weight {248 fn create_collection() -> Weight {
249 // Proof Size summary in bytes:
250 // Measured: `277`
251 // Estimated: `6204`
252 // Minimum execution time: 37_430_000 picoseconds.
161 Weight::from_ref_time(47_681_000 as u64)253 Weight::from_parts(42_154_000, 6204)
162 .saturating_add(RocksDbWeight::get().reads(4 as u64))254 .saturating_add(RocksDbWeight::get().reads(4_u64))
163 .saturating_add(RocksDbWeight::get().writes(6 as u64))255 .saturating_add(RocksDbWeight::get().writes(6_u64))
164 }256 }
165 // Storage: Common CollectionById (r:1 w:1)257 /// Storage: Common CollectionById (r:1 w:1)
258 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
166 // Storage: Nonfungible TokenData (r:1 w:0)259 /// Storage: Nonfungible TokenData (r:1 w:0)
260 /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
167 // Storage: Common DestroyedCollectionCount (r:1 w:1)261 /// Storage: Common DestroyedCollectionCount (r:1 w:1)
262 /// Proof: Common DestroyedCollectionCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
168 // Storage: Nonfungible TokensMinted (r:0 w:1)263 /// Storage: Nonfungible TokensMinted (r:0 w:1)
264 /// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
169 // Storage: Nonfungible TokensBurnt (r:0 w:1)265 /// Storage: Nonfungible TokensBurnt (r:0 w:1)
266 /// Proof: Nonfungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
170 // Storage: Common AdminAmount (r:0 w:1)267 /// Storage: Common AdminAmount (r:0 w:1)
268 /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
171 // Storage: Common CollectionProperties (r:0 w:1)269 /// Storage: Common CollectionProperties (r:0 w:1)
270 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
172 fn destroy_collection() -> Weight {271 fn destroy_collection() -> Weight {
272 // Proof Size summary in bytes:
273 // Measured: `1118`
274 // Estimated: `6366`
275 // Minimum execution time: 51_399_000 picoseconds.
173 Weight::from_ref_time(58_371_000 as u64)276 Weight::from_parts(52_256_000, 6366)
174 .saturating_add(RocksDbWeight::get().reads(3 as u64))277 .saturating_add(RocksDbWeight::get().reads(3_u64))
175 .saturating_add(RocksDbWeight::get().writes(6 as u64))278 .saturating_add(RocksDbWeight::get().writes(6_u64))
176 }279 }
177 // Storage: Common CollectionById (r:1 w:0)280 /// Storage: Common CollectionById (r:1 w:0)
178 // Storage: Common Allowlist (r:0 w:1)281 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
282 /// Storage: Common Allowlist (r:0 w:1)
283 /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
179 fn add_to_allow_list() -> Weight {284 fn add_to_allow_list() -> Weight {
285 // Proof Size summary in bytes:
286 // Measured: `999`
287 // Estimated: `3335`
288 // Minimum execution time: 16_355_000 picoseconds.
180 Weight::from_ref_time(28_197_000 as u64)289 Weight::from_parts(16_737_000, 3335)
181 .saturating_add(RocksDbWeight::get().reads(1 as u64))290 .saturating_add(RocksDbWeight::get().reads(1_u64))
182 .saturating_add(RocksDbWeight::get().writes(1 as u64))291 .saturating_add(RocksDbWeight::get().writes(1_u64))
183 }292 }
184 // Storage: Common CollectionById (r:1 w:0)293 /// Storage: Common CollectionById (r:1 w:0)
185 // Storage: Common Allowlist (r:0 w:1)294 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
295 /// Storage: Common Allowlist (r:0 w:1)
296 /// Proof: Common Allowlist (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
186 fn remove_from_allow_list() -> Weight {297 fn remove_from_allow_list() -> Weight {
298 // Proof Size summary in bytes:
299 // Measured: `1032`
300 // Estimated: `3335`
301 // Minimum execution time: 15_812_000 picoseconds.
187 Weight::from_ref_time(27_782_000 as u64)302 Weight::from_parts(16_102_000, 3335)
188 .saturating_add(RocksDbWeight::get().reads(1 as u64))303 .saturating_add(RocksDbWeight::get().reads(1_u64))
189 .saturating_add(RocksDbWeight::get().writes(1 as u64))304 .saturating_add(RocksDbWeight::get().writes(1_u64))
190 }305 }
191 // Storage: Common CollectionById (r:1 w:1)306 /// Storage: Common CollectionById (r:1 w:1)
307 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
192 fn change_collection_owner() -> Weight {308 fn change_collection_owner() -> Weight {
309 // Proof Size summary in bytes:
310 // Measured: `999`
311 // Estimated: `3335`
312 // Minimum execution time: 15_072_000 picoseconds.
193 Weight::from_ref_time(27_100_000 as u64)313 Weight::from_parts(15_540_000, 3335)
194 .saturating_add(RocksDbWeight::get().reads(1 as u64))314 .saturating_add(RocksDbWeight::get().reads(1_u64))
195 .saturating_add(RocksDbWeight::get().writes(1 as u64))315 .saturating_add(RocksDbWeight::get().writes(1_u64))
196 }316 }
197 // Storage: Common CollectionById (r:1 w:0)317 /// Storage: Common CollectionById (r:1 w:0)
198 // Storage: Common IsAdmin (r:1 w:1)318 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
199 // Storage: Common AdminAmount (r:1 w:1)319 /// Storage: Common IsAdmin (r:1 w:1)
320 /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
321 /// Storage: Common AdminAmount (r:1 w:1)
322 /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
200 fn add_collection_admin() -> Weight {323 fn add_collection_admin() -> Weight {
324 // Proof Size summary in bytes:
325 // Measured: `999`
326 // Estimated: `8379`
327 // Minimum execution time: 18_268_000 picoseconds.
201 Weight::from_ref_time(31_037_000 as u64)328 Weight::from_parts(18_931_000, 8379)
202 .saturating_add(RocksDbWeight::get().reads(3 as u64))329 .saturating_add(RocksDbWeight::get().reads(3_u64))
203 .saturating_add(RocksDbWeight::get().writes(2 as u64))330 .saturating_add(RocksDbWeight::get().writes(2_u64))
204 }331 }
205 // Storage: Common CollectionById (r:1 w:0)332 /// Storage: Common CollectionById (r:1 w:0)
206 // Storage: Common IsAdmin (r:1 w:1)333 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
207 // Storage: Common AdminAmount (r:1 w:1)334 /// Storage: Common IsAdmin (r:1 w:1)
335 /// Proof: Common IsAdmin (max_values: None, max_size: Some(70), added: 2545, mode: MaxEncodedLen)
336 /// Storage: Common AdminAmount (r:1 w:1)
337 /// Proof: Common AdminAmount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen)
208 fn remove_collection_admin() -> Weight {338 fn remove_collection_admin() -> Weight {
339 // Proof Size summary in bytes:
340 // Measured: `1139`
341 // Estimated: `8379`
342 // Minimum execution time: 21_786_000 picoseconds.
209 Weight::from_ref_time(34_543_000 as u64)343 Weight::from_parts(22_088_000, 8379)
210 .saturating_add(RocksDbWeight::get().reads(3 as u64))344 .saturating_add(RocksDbWeight::get().reads(3_u64))
211 .saturating_add(RocksDbWeight::get().writes(2 as u64))345 .saturating_add(RocksDbWeight::get().writes(2_u64))
212 }346 }
213 // Storage: Common CollectionById (r:1 w:1)347 /// Storage: Common CollectionById (r:1 w:1)
348 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
214 fn set_collection_sponsor() -> Weight {349 fn set_collection_sponsor() -> Weight {
350 // Proof Size summary in bytes:
351 // Measured: `999`
352 // Estimated: `3335`
353 // Minimum execution time: 15_245_000 picoseconds.
215 Weight::from_ref_time(27_109_000 as u64)354 Weight::from_parts(15_574_000, 3335)
216 .saturating_add(RocksDbWeight::get().reads(1 as u64))355 .saturating_add(RocksDbWeight::get().reads(1_u64))
217 .saturating_add(RocksDbWeight::get().writes(1 as u64))356 .saturating_add(RocksDbWeight::get().writes(1_u64))
218 }357 }
219 // Storage: Common CollectionById (r:1 w:1)358 /// Storage: Common CollectionById (r:1 w:1)
359 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
220 fn confirm_sponsorship() -> Weight {360 fn confirm_sponsorship() -> Weight {
361 // Proof Size summary in bytes:
362 // Measured: `1031`
363 // Estimated: `3335`
364 // Minimum execution time: 15_073_000 picoseconds.
221 Weight::from_ref_time(26_916_000 as u64)365 Weight::from_parts(15_407_000, 3335)
222 .saturating_add(RocksDbWeight::get().reads(1 as u64))366 .saturating_add(RocksDbWeight::get().reads(1_u64))
223 .saturating_add(RocksDbWeight::get().writes(1 as u64))367 .saturating_add(RocksDbWeight::get().writes(1_u64))
224 }368 }
225 // Storage: Common CollectionById (r:1 w:1)369 /// Storage: Common CollectionById (r:1 w:1)
370 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
226 fn remove_collection_sponsor() -> Weight {371 fn remove_collection_sponsor() -> Weight {
372 // Proof Size summary in bytes:
373 // Measured: `1031`
374 // Estimated: `3335`
375 // Minimum execution time: 14_938_000 picoseconds.
227 Weight::from_ref_time(29_279_000 as u64)376 Weight::from_parts(15_262_000, 3335)
228 .saturating_add(RocksDbWeight::get().reads(1 as u64))377 .saturating_add(RocksDbWeight::get().reads(1_u64))
229 .saturating_add(RocksDbWeight::get().writes(1 as u64))378 .saturating_add(RocksDbWeight::get().writes(1_u64))
230 }379 }
231 // Storage: Common CollectionById (r:1 w:1)380 /// Storage: Common CollectionById (r:1 w:1)
381 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
232 fn set_transfers_enabled_flag() -> Weight {382 fn set_transfers_enabled_flag() -> Weight {
383 // Proof Size summary in bytes:
384 // Measured: `999`
385 // Estimated: `3335`
386 // Minimum execution time: 10_318_000 picoseconds.
233 Weight::from_ref_time(13_064_000 as u64)387 Weight::from_parts(10_652_000, 3335)
234 .saturating_add(RocksDbWeight::get().reads(1 as u64))388 .saturating_add(RocksDbWeight::get().reads(1_u64))
235 .saturating_add(RocksDbWeight::get().writes(1 as u64))389 .saturating_add(RocksDbWeight::get().writes(1_u64))
236 }390 }
237 // Storage: Common CollectionById (r:1 w:1)391 /// Storage: Common CollectionById (r:1 w:1)
392 /// Proof: Common CollectionById (max_values: None, max_size: Some(860), added: 3335, mode: MaxEncodedLen)
238 fn set_collection_limits() -> Weight {393 fn set_collection_limits() -> Weight {
394 // Proof Size summary in bytes:
395 // Measured: `999`
396 // Estimated: `3335`
397 // Minimum execution time: 15_535_000 picoseconds.
239 Weight::from_ref_time(27_442_000 as u64)398 Weight::from_parts(15_937_000, 3335)
240 .saturating_add(RocksDbWeight::get().reads(1 as u64))399 .saturating_add(RocksDbWeight::get().reads(1_u64))
241 .saturating_add(RocksDbWeight::get().writes(1 as u64))400 .saturating_add(RocksDbWeight::get().writes(1_u64))
242 }401 }
243 // Storage: Common CollectionProperties (r:1 w:1)402 /// Storage: Common CollectionProperties (r:1 w:1)
403 /// Proof: Common CollectionProperties (max_values: None, max_size: Some(40992), added: 43467, mode: MaxEncodedLen)
244 fn force_repair_collection() -> Weight {404 fn force_repair_collection() -> Weight {
405 // Proof Size summary in bytes:
406 // Measured: `265`
407 // Estimated: `43467`
408 // Minimum execution time: 8_178_000 picoseconds.
245 Weight::from_ref_time(10_730_000 as u64)409 Weight::from_parts(8_390_000, 43467)
246 .saturating_add(RocksDbWeight::get().reads(1 as u64))410 .saturating_add(RocksDbWeight::get().reads(1_u64))
247 .saturating_add(RocksDbWeight::get().writes(1 as u64))411 .saturating_add(RocksDbWeight::get().writes(1_u64))
248 }412 }
249}413}
250414
modifiedprimitives/common/src/constants.rsdiffbeforeafterboth
52pub const SESSION_LENGTH: BlockNumber = HOURS;52pub const SESSION_LENGTH: BlockNumber = HOURS;
5353
54// Targeting 0.1 UNQ per transfer54// Targeting 0.1 UNQ per transfer
55pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/77_246_728_691_397_557/*</weight2fee>*/;55pub const WEIGHT_TO_FEE_COEFF: u64 = /*<weight2fee>*/78_240_337_566_697_829/*</weight2fee>*/;
5656
57// Targeting 0.15 UNQ per transfer via ETH57// Targeting 0.15 UNQ per transfer via ETH
58pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_017_135_340_028/*</mingasprice>*/;58pub const MIN_GAS_PRICE: u64 = /*<mingasprice>*/1_031_842_664_630/*</mingasprice>*/;
5959
60/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.60/// We assume that ~10% of the block weight is consumed by `on_initalize` handlers.
61/// This is used to limit the maximal weight of a single extrinsic.61/// This is used to limit the maximal weight of a single extrinsic.
modifiedruntime/common/weights/xcm.rsdiffbeforeafterboth
3//! Autogenerated weights for pallet_xcm3//! Autogenerated weights for pallet_xcm
4//!4//!
5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
6//! DATE: 2023-03-10, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`6//! DATE: 2023-03-30, STEPS: `50`, REPEAT: 80, LOW RANGE: `[]`, HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`7//! WORST CASE MAP SIZE: `1000000`
8//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10248//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
99
35/// Weights for pallet_xcm using the Substrate node and recommended hardware.35/// Weights for pallet_xcm using the Substrate node and recommended hardware.
36pub struct SubstrateWeight<T>(PhantomData<T>);36pub struct SubstrateWeight<T>(PhantomData<T>);
37impl<T: frame_system::Config> pallet_xcm::WeightInfo for SubstrateWeight<T> {37impl<T: frame_system::Config> pallet_xcm::WeightInfo for SubstrateWeight<T> {
38 /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
39 /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
40 /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
41 /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
42 /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
43 /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
38 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)44 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
39 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)45 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
40 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)46 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
41 /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)47 /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
42 fn send() -> Weight {48 fn send() -> Weight {
43 // Proof Size summary in bytes:49 // Proof Size summary in bytes:
44 // Measured: `142`50 // Measured: `211`
45 // Estimated: `1274`51 // Estimated: `5510`
46 // Minimum execution time: 11_382_000 picoseconds.52 // Minimum execution time: 17_608_000 picoseconds.
47 Weight::from_parts(11_812_000, 1274)53 Weight::from_parts(18_024_000, 5510)
48 .saturating_add(T::DbWeight::get().reads(2_u64))54 .saturating_add(T::DbWeight::get().reads(5_u64))
49 .saturating_add(T::DbWeight::get().writes(1_u64))55 .saturating_add(T::DbWeight::get().writes(2_u64))
50 }56 }
51 /// Storage: ParachainInfo ParachainId (r:1 w:0)57 /// Storage: ParachainInfo ParachainId (r:1 w:0)
52 /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)58 /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
53 fn teleport_assets() -> Weight {59 fn teleport_assets() -> Weight {
54 // Proof Size summary in bytes:60 // Proof Size summary in bytes:
55 // Measured: `136`61 // Measured: `136`
56 // Estimated: `499`62 // Estimated: `499`
57 // Minimum execution time: 13_195_000 picoseconds.63 // Minimum execution time: 17_648_000 picoseconds.
58 Weight::from_parts(13_685_000, 499)64 Weight::from_parts(18_103_000, 499)
59 .saturating_add(T::DbWeight::get().reads(1_u64))65 .saturating_add(T::DbWeight::get().reads(1_u64))
60 }66 }
61 /// Storage: ParachainInfo ParachainId (r:1 w:0)67 /// Storage: ParachainInfo ParachainId (r:1 w:0)
64 // Proof Size summary in bytes:70 // Proof Size summary in bytes:
65 // Measured: `136`71 // Measured: `136`
66 // Estimated: `499`72 // Estimated: `499`
67 // Minimum execution time: 12_784_000 picoseconds.73 // Minimum execution time: 17_529_000 picoseconds.
68 Weight::from_parts(13_155_000, 499)74 Weight::from_parts(18_009_000, 499)
69 .saturating_add(T::DbWeight::get().reads(1_u64))75 .saturating_add(T::DbWeight::get().reads(1_u64))
70 }76 }
71 fn execute() -> Weight {77 fn execute() -> Weight {
72 // Proof Size summary in bytes:78 // Proof Size summary in bytes:
73 // Measured: `0`79 // Measured: `0`
74 // Estimated: `0`80 // Estimated: `0`
75 // Minimum execution time: 4_569_000 picoseconds.81 // Minimum execution time: 5_314_000 picoseconds.
76 Weight::from_parts(4_819_000, 0)82 Weight::from_parts(6_053_000, 0)
77 }83 }
78 /// Storage: PolkadotXcm SupportedVersion (r:0 w:1)84 /// Storage: PolkadotXcm SupportedVersion (r:0 w:1)
79 /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)85 /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
80 fn force_xcm_version() -> Weight {86 fn force_xcm_version() -> Weight {
81 // Proof Size summary in bytes:87 // Proof Size summary in bytes:
82 // Measured: `0`88 // Measured: `0`
83 // Estimated: `0`89 // Estimated: `0`
84 // Minimum execution time: 4_919_000 picoseconds.90 // Minimum execution time: 5_577_000 picoseconds.
85 Weight::from_parts(5_250_000, 0)91 Weight::from_parts(5_831_000, 0)
86 .saturating_add(T::DbWeight::get().writes(1_u64))92 .saturating_add(T::DbWeight::get().writes(1_u64))
87 }93 }
88 /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)94 /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1)
91 // Proof Size summary in bytes:97 // Proof Size summary in bytes:
92 // Measured: `0`98 // Measured: `0`
93 // Estimated: `0`99 // Estimated: `0`
94 // Minimum execution time: 1_593_000 picoseconds.100 // Minimum execution time: 1_902_000 picoseconds.
95 Weight::from_parts(1_723_000, 0)101 Weight::from_parts(2_018_000, 0)
96 .saturating_add(T::DbWeight::get().writes(1_u64))102 .saturating_add(T::DbWeight::get().writes(1_u64))
97 }103 }
98 /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)104 /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
99 /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)105 /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
100 /// Storage: PolkadotXcm QueryCounter (r:1 w:1)106 /// Storage: PolkadotXcm QueryCounter (r:1 w:1)
101 /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured)107 /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured)
108 /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
109 /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
110 /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
111 /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
112 /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
113 /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
102 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)114 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
103 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)115 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
104 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)116 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
107 /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)119 /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
108 fn force_subscribe_version_notify() -> Weight {120 fn force_subscribe_version_notify() -> Weight {
109 // Proof Size summary in bytes:121 // Proof Size summary in bytes:
110 // Measured: `184`122 // Measured: `211`
111 // Estimated: `4880`123 // Estimated: `9113`
112 // Minimum execution time: 16_832_000 picoseconds.124 // Minimum execution time: 21_675_000 picoseconds.
113 Weight::from_parts(17_984_000, 4880)125 Weight::from_parts(22_161_000, 9113)
114 .saturating_add(T::DbWeight::get().reads(4_u64))126 .saturating_add(T::DbWeight::get().reads(7_u64))
115 .saturating_add(T::DbWeight::get().writes(4_u64))127 .saturating_add(T::DbWeight::get().writes(5_u64))
116 }128 }
117 /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)129 /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1)
118 /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)130 /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
131 /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
132 /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
133 /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
134 /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
135 /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
136 /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
119 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)137 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
120 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)138 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
121 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)139 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
124 /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)142 /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured)
125 fn force_unsubscribe_version_notify() -> Weight {143 fn force_unsubscribe_version_notify() -> Weight {
126 // Proof Size summary in bytes:144 // Proof Size summary in bytes:
127 // Measured: `341`145 // Measured: `394`
128 // Estimated: `4829`146 // Estimated: `9688`
129 // Minimum execution time: 19_256_000 picoseconds.147 // Minimum execution time: 24_643_000 picoseconds.
130 Weight::from_parts(20_228_000, 4829)148 Weight::from_parts(25_027_000, 9688)
131 .saturating_add(T::DbWeight::get().reads(3_u64))149 .saturating_add(T::DbWeight::get().reads(6_u64))
132 .saturating_add(T::DbWeight::get().writes(3_u64))150 .saturating_add(T::DbWeight::get().writes(4_u64))
133 }151 }
134 /// Storage: PolkadotXcm SupportedVersion (r:4 w:2)152 /// Storage: PolkadotXcm SupportedVersion (r:4 w:2)
135 /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)153 /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
136 fn migrate_supported_version() -> Weight {154 fn migrate_supported_version() -> Weight {
137 // Proof Size summary in bytes:155 // Proof Size summary in bytes:
138 // Measured: `108`156 // Measured: `131`
139 // Estimated: `10008`157 // Estimated: `10031`
140 // Minimum execution time: 14_437_000 picoseconds.158 // Minimum execution time: 14_077_000 picoseconds.
141 Weight::from_parts(15_750_000, 10008)159 Weight::from_parts(14_594_000, 10031)
142 .saturating_add(T::DbWeight::get().reads(4_u64))160 .saturating_add(T::DbWeight::get().reads(4_u64))
143 .saturating_add(T::DbWeight::get().writes(2_u64))161 .saturating_add(T::DbWeight::get().writes(2_u64))
144 }162 }
145 /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)163 /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2)
146 /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)164 /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured)
147 fn migrate_version_notifiers() -> Weight {165 fn migrate_version_notifiers() -> Weight {
148 // Proof Size summary in bytes:166 // Proof Size summary in bytes:
149 // Measured: `112`167 // Measured: `135`
150 // Estimated: `10012`168 // Estimated: `10035`
151 // Minimum execution time: 14_617_000 picoseconds.169 // Minimum execution time: 14_117_000 picoseconds.
152 Weight::from_parts(16_000_000, 10012)170 Weight::from_parts(14_590_000, 10035)
153 .saturating_add(T::DbWeight::get().reads(4_u64))171 .saturating_add(T::DbWeight::get().reads(4_u64))
154 .saturating_add(T::DbWeight::get().writes(2_u64))172 .saturating_add(T::DbWeight::get().writes(2_u64))
155 }173 }
156 /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0)174 /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0)
157 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)175 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
158 fn already_notified_target() -> Weight {176 fn already_notified_target() -> Weight {
159 // Proof Size summary in bytes:177 // Proof Size summary in bytes:
160 // Measured: `119`178 // Measured: `142`
161 // Estimated: `12494`179 // Estimated: `12517`
162 // Minimum execution time: 18_395_000 picoseconds.180 // Minimum execution time: 16_284_000 picoseconds.
163 Weight::from_parts(19_858_000, 12494)181 Weight::from_parts(16_817_000, 12517)
164 .saturating_add(T::DbWeight::get().reads(5_u64))182 .saturating_add(T::DbWeight::get().reads(5_u64))
165 }183 }
166 /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)184 /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1)
167 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)185 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
186 /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
187 /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
188 /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
189 /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
190 /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
191 /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
168 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)192 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
169 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)193 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
170 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)194 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
171 /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)195 /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
172 fn notify_current_targets() -> Weight {196 fn notify_current_targets() -> Weight {
173 // Proof Size summary in bytes:197 // Proof Size summary in bytes:
174 // Measured: `255`198 // Measured: `278`
175 // Estimated: `6705`199 // Estimated: `11073`
176 // Minimum execution time: 17_443_000 picoseconds.200 // Minimum execution time: 21_980_000 picoseconds.
177 Weight::from_parts(18_435_000, 6705)201 Weight::from_parts(22_452_000, 11073)
178 .saturating_add(T::DbWeight::get().reads(4_u64))202 .saturating_add(T::DbWeight::get().reads(7_u64))
179 .saturating_add(T::DbWeight::get().writes(2_u64))203 .saturating_add(T::DbWeight::get().writes(3_u64))
180 }204 }
181 /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)205 /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0)
182 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)206 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
183 fn notify_target_migration_fail() -> Weight {207 fn notify_target_migration_fail() -> Weight {
184 // Proof Size summary in bytes:208 // Proof Size summary in bytes:
185 // Measured: `149`209 // Measured: `172`
186 // Estimated: `7574`210 // Estimated: `7597`
187 // Minimum execution time: 7_714_000 picoseconds.211 // Minimum execution time: 6_848_000 picoseconds.
188 Weight::from_parts(8_526_000, 7574)212 Weight::from_parts(7_077_000, 7597)
189 .saturating_add(T::DbWeight::get().reads(3_u64))213 .saturating_add(T::DbWeight::get().reads(3_u64))
190 }214 }
191 /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)215 /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
192 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)216 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
193 fn migrate_version_notify_targets() -> Weight {217 fn migrate_version_notify_targets() -> Weight {
194 // Proof Size summary in bytes:218 // Proof Size summary in bytes:
195 // Measured: `119`219 // Measured: `142`
196 // Estimated: `10019`220 // Estimated: `10042`
197 // Minimum execution time: 15_008_000 picoseconds.221 // Minimum execution time: 14_509_000 picoseconds.
198 Weight::from_parts(16_271_000, 10019)222 Weight::from_parts(15_012_000, 10042)
199 .saturating_add(T::DbWeight::get().reads(4_u64))223 .saturating_add(T::DbWeight::get().reads(4_u64))
200 .saturating_add(T::DbWeight::get().writes(2_u64))224 .saturating_add(T::DbWeight::get().writes(2_u64))
201 }225 }
202 /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)226 /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2)
203 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)227 /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured)
228 /// Storage: PolkadotXcm SupportedVersion (r:1 w:0)
229 /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured)
230 /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1)
231 /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured)
232 /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0)
233 /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured)
204 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)234 /// Storage: ParachainSystem HostConfiguration (r:1 w:0)
205 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)235 /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured)
206 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)236 /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1)
207 /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)237 /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)
208 fn migrate_and_notify_old_targets() -> Weight {238 fn migrate_and_notify_old_targets() -> Weight {
209 // Proof Size summary in bytes:239 // Proof Size summary in bytes:
210 // Measured: `261`240 // Measured: `284`
211 // Estimated: `11673`241 // Estimated: `16059`
212 // Minimum execution time: 23_554_000 picoseconds.242 // Minimum execution time: 27_426_000 picoseconds.
213 Weight::from_parts(25_158_000, 11673)243 Weight::from_parts(27_878_000, 16059)
214 .saturating_add(T::DbWeight::get().reads(6_u64))244 .saturating_add(T::DbWeight::get().reads(9_u64))
215 .saturating_add(T::DbWeight::get().writes(3_u64))245 .saturating_add(T::DbWeight::get().writes(4_u64))
216 }246 }
217}247}
218248