difftreelog
chore add temporary nft/rft weights
in: master
2 files changed
pallets/nonfungible/src/weights.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/weights.rs
+++ b/pallets/nonfungible/src/weights.rs
@@ -3,9 +3,9 @@
//! Autogenerated weights for pallet_nonfungible
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
-//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
+//! DATE: 2023-09-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
-//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`
+//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`
//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
// Executed Command:
@@ -46,6 +46,7 @@
fn burn_from() -> Weight;
fn set_token_property_permissions(b: u32, ) -> Weight;
fn set_token_properties(b: u32, ) -> Weight;
+ fn reset_token_properties(b: u32, ) -> Weight;
fn delete_token_properties(b: u32, ) -> Weight;
fn token_owner() -> Weight;
fn set_allowance_for_all() -> Weight;
@@ -60,8 +61,6 @@
/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: Nonfungible AccountBalance (r:1 w:1)
/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenProperties (r:1 w:1)
- /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Nonfungible TokenData (r:0 w:1)
@@ -70,19 +69,17 @@
/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn create_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `390`
- // Estimated: `63471`
- // Minimum execution time: 25_892_000 picoseconds.
- Weight::from_parts(26_424_000, 63471)
- .saturating_add(T::DbWeight::get().reads(4_u64))
- .saturating_add(T::DbWeight::get().writes(5_u64))
+ // Measured: `456`
+ // Estimated: `20191`
+ // Minimum execution time: 10_660_000 picoseconds.
+ Weight::from_parts(10_960_000, 20191)
+ .saturating_add(T::DbWeight::get().reads(3_u64))
+ .saturating_add(T::DbWeight::get().writes(4_u64))
}
/// Storage: Nonfungible TokensMinted (r:1 w:1)
/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: Nonfungible AccountBalance (r:1 w:1)
/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenProperties (r:200 w:200)
- /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Nonfungible TokenData (r:0 w:200)
@@ -92,24 +89,20 @@
/// The range of component `b` is `[0, 200]`.
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `390`
- // Estimated: `28192 + b * (35279 ±0)`
- // Minimum execution time: 4_612_000 picoseconds.
- Weight::from_parts(6_399_460, 28192)
- // Standard Error: 5_119
- .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))
+ // Measured: `456`
+ // Estimated: `20191`
+ // Minimum execution time: 2_200_000 picoseconds.
+ Weight::from_parts(612_529, 20191)
+ // Standard Error: 737
+ .saturating_add(Weight::from_parts(3_807_625, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
- .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
- .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
- .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(b.into())))
}
/// Storage: Nonfungible TokensMinted (r:1 w:1)
/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: Nonfungible AccountBalance (r:200 w:200)
/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenProperties (r:200 w:200)
- /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Nonfungible TokenData (r:0 w:200)
@@ -119,17 +112,17 @@
/// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `390`
- // Estimated: `25652 + b * (37819 ±0)`
- // Minimum execution time: 4_538_000 picoseconds.
- Weight::from_parts(4_686_000, 25652)
- // Standard Error: 3_518
- .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))
+ // Measured: `456`
+ // Estimated: `20191 + b * (2540 ±0)`
+ // Minimum execution time: 2_190_000 picoseconds.
+ Weight::from_parts(2_280_000, 20191)
+ // Standard Error: 1_011
+ .saturating_add(Weight::from_parts(4_931_681, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
- .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))
+ .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(1_u64))
- .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))
- .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))
}
/// Storage: Nonfungible TokenData (r:1 w:1)
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
@@ -148,9 +141,9 @@
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `380`
- // Estimated: `17561`
- // Minimum execution time: 24_230_000 picoseconds.
- Weight::from_parts(24_672_000, 17561)
+ // Estimated: `3530`
+ // Minimum execution time: 13_470_000 picoseconds.
+ Weight::from_parts(13_840_000, 3530)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -171,9 +164,9 @@
fn burn_recursively_self_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `380`
- // Estimated: `17561`
- // Minimum execution time: 30_521_000 picoseconds.
- Weight::from_parts(31_241_000, 17561)
+ // Estimated: `3530`
+ // Minimum execution time: 16_940_000 picoseconds.
+ Weight::from_parts(17_340_000, 3530)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -196,17 +189,17 @@
/// The range of component `b` is `[0, 200]`.
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1467 + b * (58 ±0)`
- // Estimated: `24230 + b * (10097 ±0)`
- // Minimum execution time: 31_734_000 picoseconds.
- Weight::from_parts(32_162_000, 24230)
- // Standard Error: 210_514
- .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))
+ // Measured: `1500 + b * (58 ±0)`
+ // Estimated: `5874 + b * (5032 ±0)`
+ // Minimum execution time: 16_910_000 picoseconds.
+ Weight::from_parts(17_170_000, 5874)
+ // Standard Error: 102_760
+ .saturating_add(Weight::from_parts(45_644_966, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
.saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))
- .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))
+ .saturating_add(Weight::from_parts(0, 5032).saturating_mul(b.into()))
}
/// Storage: Nonfungible TokenData (r:1 w:1)
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
@@ -219,9 +212,9 @@
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `380`
- // Estimated: `13114`
- // Minimum execution time: 18_305_000 picoseconds.
- Weight::from_parts(18_859_000, 13114)
+ // Estimated: `6070`
+ // Minimum execution time: 9_420_000 picoseconds.
+ Weight::from_parts(9_710_000, 6070)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -232,9 +225,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `326`
- // Estimated: `7044`
- // Minimum execution time: 10_977_000 picoseconds.
- Weight::from_parts(11_184_000, 7044)
+ // Estimated: `3522`
+ // Minimum execution time: 5_400_000 picoseconds.
+ Weight::from_parts(5_640_000, 3522)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -245,9 +238,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
- // Estimated: `7044`
- // Minimum execution time: 11_456_000 picoseconds.
- Weight::from_parts(11_731_000, 7044)
+ // Estimated: `3522`
+ // Minimum execution time: 5_390_000 picoseconds.
+ Weight::from_parts(5_610_000, 3522)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -257,8 +250,8 @@
// Proof Size summary in bytes:
// Measured: `362`
// Estimated: `3522`
- // Minimum execution time: 5_771_000 picoseconds.
- Weight::from_parts(5_972_000, 3522)
+ // Minimum execution time: 2_970_000 picoseconds.
+ Weight::from_parts(3_170_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible Allowance (r:1 w:1)
@@ -278,9 +271,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `463`
- // Estimated: `17561`
- // Minimum execution time: 30_633_000 picoseconds.
- Weight::from_parts(31_136_000, 17561)
+ // Estimated: `3530`
+ // Minimum execution time: 15_400_000 picoseconds.
+ Weight::from_parts(15_850_000, 3530)
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -289,12 +282,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `281`
+ // Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 2_300_000 picoseconds.
- Weight::from_parts(2_382_000, 20191)
- // Standard Error: 45_076
- .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))
+ // Minimum execution time: 780_000 picoseconds.
+ Weight::from_parts(830_000, 20191)
+ // Standard Error: 35_354
+ .saturating_add(Weight::from_parts(8_422_695, 0).saturating_mul(b.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -302,32 +295,52 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Nonfungible TokenData (r:1 w:0)
+ /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `584 + b * (261 ±0)`
- // Estimated: `56460`
- // Minimum execution time: 12_422_000 picoseconds.
- Weight::from_parts(5_523_689, 56460)
- // Standard Error: 74_137
- .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))
- .saturating_add(T::DbWeight::get().reads(2_u64))
+ // Measured: `640 + b * (261 ±0)`
+ // Estimated: `36269`
+ // Minimum execution time: 5_530_000 picoseconds.
+ Weight::from_parts(10_829_898, 36269)
+ // Standard Error: 5_106
+ .saturating_add(Weight::from_parts(2_601_900, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Nonfungible TokenProperties (r:0 w:1)
+ /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
+ fn reset_token_properties(b: u32, ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `317 + b * (261 ±0)`
+ // Estimated: `20191`
+ // Minimum execution time: 3_690_000 picoseconds.
+ Weight::from_parts(9_633_879, 20191)
+ // Standard Error: 6_573
+ .saturating_add(Weight::from_parts(2_694_801, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(1_u64))
+ .saturating_add(T::DbWeight::get().writes(1_u64))
+ }
/// Storage: Nonfungible TokenProperties (r:1 w:1)
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Nonfungible TokenData (r:1 w:0)
+ /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `589 + b * (33291 ±0)`
- // Estimated: `56460`
- // Minimum execution time: 12_006_000 picoseconds.
- Weight::from_parts(12_216_000, 56460)
- // Standard Error: 83_431
- .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))
- .saturating_add(T::DbWeight::get().reads(2_u64))
+ // Measured: `699 + b * (33291 ±0)`
+ // Estimated: `36269`
+ // Minimum execution time: 5_860_000 picoseconds.
+ Weight::from_parts(6_000_000, 36269)
+ // Standard Error: 26_204
+ .saturating_add(Weight::from_parts(9_601_645, 0).saturating_mul(b.into()))
+ .saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible TokenData (r:1 w:0)
@@ -336,8 +349,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3522`
- // Minimum execution time: 4_827_000 picoseconds.
- Weight::from_parts(4_984_000, 3522)
+ // Minimum execution time: 2_930_000 picoseconds.
+ Weight::from_parts(3_060_000, 3522)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:0 w:1)
@@ -346,28 +359,28 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_151_000 picoseconds.
- Weight::from_parts(6_394_000, 0)
+ // Minimum execution time: 2_680_000 picoseconds.
+ Weight::from_parts(2_780_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:1 w:0)
/// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
- // Measured: `109`
+ // Measured: `142`
// Estimated: `3576`
- // Minimum execution time: 3_791_000 picoseconds.
- Weight::from_parts(3_950_000, 3576)
+ // Minimum execution time: 2_000_000 picoseconds.
+ Weight::from_parts(2_110_000, 3576)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible TokenProperties (r:1 w:1)
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn repair_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `300`
+ // Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 5_364_000 picoseconds.
- Weight::from_parts(5_539_000, 36269)
+ // Minimum execution time: 2_200_000 picoseconds.
+ Weight::from_parts(2_340_000, 36269)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -379,8 +392,6 @@
/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: Nonfungible AccountBalance (r:1 w:1)
/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenProperties (r:1 w:1)
- /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Nonfungible TokenData (r:0 w:1)
@@ -389,19 +400,17 @@
/// Proof: Nonfungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)
fn create_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `390`
- // Estimated: `63471`
- // Minimum execution time: 25_892_000 picoseconds.
- Weight::from_parts(26_424_000, 63471)
- .saturating_add(RocksDbWeight::get().reads(4_u64))
- .saturating_add(RocksDbWeight::get().writes(5_u64))
+ // Measured: `456`
+ // Estimated: `20191`
+ // Minimum execution time: 10_660_000 picoseconds.
+ Weight::from_parts(10_960_000, 20191)
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
+ .saturating_add(RocksDbWeight::get().writes(4_u64))
}
/// Storage: Nonfungible TokensMinted (r:1 w:1)
/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: Nonfungible AccountBalance (r:1 w:1)
/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenProperties (r:200 w:200)
- /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Nonfungible TokenData (r:0 w:200)
@@ -411,24 +420,20 @@
/// The range of component `b` is `[0, 200]`.
fn create_multiple_items(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `390`
- // Estimated: `28192 + b * (35279 ±0)`
- // Minimum execution time: 4_612_000 picoseconds.
- Weight::from_parts(6_399_460, 28192)
- // Standard Error: 5_119
- .saturating_add(Weight::from_parts(7_230_389, 0).saturating_mul(b.into()))
+ // Measured: `456`
+ // Estimated: `20191`
+ // Minimum execution time: 2_200_000 picoseconds.
+ Weight::from_parts(612_529, 20191)
+ // Standard Error: 737
+ .saturating_add(Weight::from_parts(3_807_625, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
- .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
- .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))
- .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(b.into())))
}
/// Storage: Nonfungible TokensMinted (r:1 w:1)
/// Proof: Nonfungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)
/// Storage: Nonfungible AccountBalance (r:200 w:200)
/// Proof: Nonfungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)
- /// Storage: Nonfungible TokenProperties (r:200 w:200)
- /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
/// Storage: Nonfungible TokenData (r:0 w:200)
@@ -438,17 +443,17 @@
/// The range of component `b` is `[0, 200]`.
fn create_multiple_items_ex(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `390`
- // Estimated: `25652 + b * (37819 ±0)`
- // Minimum execution time: 4_538_000 picoseconds.
- Weight::from_parts(4_686_000, 25652)
- // Standard Error: 3_518
- .saturating_add(Weight::from_parts(8_905_771, 0).saturating_mul(b.into()))
+ // Measured: `456`
+ // Estimated: `20191 + b * (2540 ±0)`
+ // Minimum execution time: 2_190_000 picoseconds.
+ Weight::from_parts(2_280_000, 20191)
+ // Standard Error: 1_011
+ .saturating_add(Weight::from_parts(4_931_681, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
- .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))
+ .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(1_u64))
- .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))
- .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))
+ .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))
}
/// Storage: Nonfungible TokenData (r:1 w:1)
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
@@ -467,9 +472,9 @@
fn burn_item() -> Weight {
// Proof Size summary in bytes:
// Measured: `380`
- // Estimated: `17561`
- // Minimum execution time: 24_230_000 picoseconds.
- Weight::from_parts(24_672_000, 17561)
+ // Estimated: `3530`
+ // Minimum execution time: 13_470_000 picoseconds.
+ Weight::from_parts(13_840_000, 3530)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -490,9 +495,9 @@
fn burn_recursively_self_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `380`
- // Estimated: `17561`
- // Minimum execution time: 30_521_000 picoseconds.
- Weight::from_parts(31_241_000, 17561)
+ // Estimated: `3530`
+ // Minimum execution time: 16_940_000 picoseconds.
+ Weight::from_parts(17_340_000, 3530)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -515,17 +520,17 @@
/// The range of component `b` is `[0, 200]`.
fn burn_recursively_breadth_plus_self_plus_self_per_each_raw(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `1467 + b * (58 ±0)`
- // Estimated: `24230 + b * (10097 ±0)`
- // Minimum execution time: 31_734_000 picoseconds.
- Weight::from_parts(32_162_000, 24230)
- // Standard Error: 210_514
- .saturating_add(Weight::from_parts(71_382_804, 0).saturating_mul(b.into()))
+ // Measured: `1500 + b * (58 ±0)`
+ // Estimated: `5874 + b * (5032 ±0)`
+ // Minimum execution time: 16_910_000 picoseconds.
+ Weight::from_parts(17_170_000, 5874)
+ // Standard Error: 102_760
+ .saturating_add(Weight::from_parts(45_644_966, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(b.into())))
.saturating_add(RocksDbWeight::get().writes(6_u64))
.saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))
- .saturating_add(Weight::from_parts(0, 10097).saturating_mul(b.into()))
+ .saturating_add(Weight::from_parts(0, 5032).saturating_mul(b.into()))
}
/// Storage: Nonfungible TokenData (r:1 w:1)
/// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
@@ -538,9 +543,9 @@
fn transfer_raw() -> Weight {
// Proof Size summary in bytes:
// Measured: `380`
- // Estimated: `13114`
- // Minimum execution time: 18_305_000 picoseconds.
- Weight::from_parts(18_859_000, 13114)
+ // Estimated: `6070`
+ // Minimum execution time: 9_420_000 picoseconds.
+ Weight::from_parts(9_710_000, 6070)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -551,9 +556,9 @@
fn approve() -> Weight {
// Proof Size summary in bytes:
// Measured: `326`
- // Estimated: `7044`
- // Minimum execution time: 10_977_000 picoseconds.
- Weight::from_parts(11_184_000, 7044)
+ // Estimated: `3522`
+ // Minimum execution time: 5_400_000 picoseconds.
+ Weight::from_parts(5_640_000, 3522)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -564,9 +569,9 @@
fn approve_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `313`
- // Estimated: `7044`
- // Minimum execution time: 11_456_000 picoseconds.
- Weight::from_parts(11_731_000, 7044)
+ // Estimated: `3522`
+ // Minimum execution time: 5_390_000 picoseconds.
+ Weight::from_parts(5_610_000, 3522)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -576,8 +581,8 @@
// Proof Size summary in bytes:
// Measured: `362`
// Estimated: `3522`
- // Minimum execution time: 5_771_000 picoseconds.
- Weight::from_parts(5_972_000, 3522)
+ // Minimum execution time: 2_970_000 picoseconds.
+ Weight::from_parts(3_170_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible Allowance (r:1 w:1)
@@ -597,9 +602,9 @@
fn burn_from() -> Weight {
// Proof Size summary in bytes:
// Measured: `463`
- // Estimated: `17561`
- // Minimum execution time: 30_633_000 picoseconds.
- Weight::from_parts(31_136_000, 17561)
+ // Estimated: `3530`
+ // Minimum execution time: 15_400_000 picoseconds.
+ Weight::from_parts(15_850_000, 3530)
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -608,12 +613,12 @@
/// The range of component `b` is `[0, 64]`.
fn set_token_property_permissions(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `281`
+ // Measured: `314`
// Estimated: `20191`
- // Minimum execution time: 2_300_000 picoseconds.
- Weight::from_parts(2_382_000, 20191)
- // Standard Error: 45_076
- .saturating_add(Weight::from_parts(12_000_777, 0).saturating_mul(b.into()))
+ // Minimum execution time: 780_000 picoseconds.
+ Weight::from_parts(830_000, 20191)
+ // Standard Error: 35_354
+ .saturating_add(Weight::from_parts(8_422_695, 0).saturating_mul(b.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -621,32 +626,52 @@
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Nonfungible TokenData (r:1 w:0)
+ /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
fn set_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `584 + b * (261 ±0)`
- // Estimated: `56460`
- // Minimum execution time: 12_422_000 picoseconds.
- Weight::from_parts(5_523_689, 56460)
- // Standard Error: 74_137
- .saturating_add(Weight::from_parts(6_320_501, 0).saturating_mul(b.into()))
- .saturating_add(RocksDbWeight::get().reads(2_u64))
+ // Measured: `640 + b * (261 ±0)`
+ // Estimated: `36269`
+ // Minimum execution time: 5_530_000 picoseconds.
+ Weight::from_parts(10_829_898, 36269)
+ // Standard Error: 5_106
+ .saturating_add(Weight::from_parts(2_601_900, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
+ /// Storage: Common CollectionPropertyPermissions (r:1 w:0)
+ /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Nonfungible TokenProperties (r:0 w:1)
+ /// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
+ /// The range of component `b` is `[0, 64]`.
+ fn reset_token_properties(b: u32, ) -> Weight {
+ // Proof Size summary in bytes:
+ // Measured: `317 + b * (261 ±0)`
+ // Estimated: `20191`
+ // Minimum execution time: 3_690_000 picoseconds.
+ Weight::from_parts(9_633_879, 20191)
+ // Standard Error: 6_573
+ .saturating_add(Weight::from_parts(2_694_801, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(1_u64))
+ .saturating_add(RocksDbWeight::get().writes(1_u64))
+ }
/// Storage: Nonfungible TokenProperties (r:1 w:1)
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
/// Storage: Common CollectionPropertyPermissions (r:1 w:0)
/// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)
+ /// Storage: Nonfungible TokenData (r:1 w:0)
+ /// Proof: Nonfungible TokenData (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen)
/// The range of component `b` is `[0, 64]`.
fn delete_token_properties(b: u32, ) -> Weight {
// Proof Size summary in bytes:
- // Measured: `589 + b * (33291 ±0)`
- // Estimated: `56460`
- // Minimum execution time: 12_006_000 picoseconds.
- Weight::from_parts(12_216_000, 56460)
- // Standard Error: 83_431
- .saturating_add(Weight::from_parts(24_556_999, 0).saturating_mul(b.into()))
- .saturating_add(RocksDbWeight::get().reads(2_u64))
+ // Measured: `699 + b * (33291 ±0)`
+ // Estimated: `36269`
+ // Minimum execution time: 5_860_000 picoseconds.
+ Weight::from_parts(6_000_000, 36269)
+ // Standard Error: 26_204
+ .saturating_add(Weight::from_parts(9_601_645, 0).saturating_mul(b.into()))
+ .saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible TokenData (r:1 w:0)
@@ -655,8 +680,8 @@
// Proof Size summary in bytes:
// Measured: `326`
// Estimated: `3522`
- // Minimum execution time: 4_827_000 picoseconds.
- Weight::from_parts(4_984_000, 3522)
+ // Minimum execution time: 2_930_000 picoseconds.
+ Weight::from_parts(3_060_000, 3522)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:0 w:1)
@@ -665,28 +690,28 @@
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
- // Minimum execution time: 6_151_000 picoseconds.
- Weight::from_parts(6_394_000, 0)
+ // Minimum execution time: 2_680_000 picoseconds.
+ Weight::from_parts(2_780_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: Nonfungible CollectionAllowance (r:1 w:0)
/// Proof: Nonfungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)
fn allowance_for_all() -> Weight {
// Proof Size summary in bytes:
- // Measured: `109`
+ // Measured: `142`
// Estimated: `3576`
- // Minimum execution time: 3_791_000 picoseconds.
- Weight::from_parts(3_950_000, 3576)
+ // Minimum execution time: 2_000_000 picoseconds.
+ Weight::from_parts(2_110_000, 3576)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: Nonfungible TokenProperties (r:1 w:1)
/// Proof: Nonfungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)
fn repair_item() -> Weight {
// Proof Size summary in bytes:
- // Measured: `300`
+ // Measured: `279`
// Estimated: `36269`
- // Minimum execution time: 5_364_000 picoseconds.
- Weight::from_parts(5_539_000, 36269)
+ // Minimum execution time: 2_200_000 picoseconds.
+ Weight::from_parts(2_340_000, 36269)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
pallets/refungible/src/weights.rsdiffbeforeafterboth1// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-04-20, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `bench-host`, CPU: `Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz`9//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// target/release/unique-collator13// benchmark14// pallet15// --pallet16// pallet-refungible17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/refungible/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_refungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;40 fn burn_item_partial() -> Weight;41 fn burn_item_fully() -> Weight;42 fn transfer_normal() -> Weight;43 fn transfer_creating() -> Weight;44 fn transfer_removing() -> Weight;45 fn transfer_creating_removing() -> Weight;46 fn approve() -> Weight;47 fn approve_from() -> Weight;48 fn transfer_from_normal() -> Weight;49 fn transfer_from_creating() -> Weight;50 fn transfer_from_removing() -> Weight;51 fn transfer_from_creating_removing() -> Weight;52 fn burn_from() -> Weight;53 fn set_token_property_permissions(b: u32, ) -> Weight;54 fn set_token_properties(b: u32, ) -> Weight;55 fn delete_token_properties(b: u32, ) -> Weight;56 fn repartition_item() -> Weight;57 fn token_owner() -> Weight;58 fn set_allowance_for_all() -> Weight;59 fn allowance_for_all() -> Weight;60 fn repair_item() -> Weight;61}6263/// Weights for pallet_refungible using the Substrate node and recommended hardware.64pub struct SubstrateWeight<T>(PhantomData<T>);65impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {66 /// Storage: Refungible TokensMinted (r:1 w:1)67 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)68 /// Storage: Refungible AccountBalance (r:1 w:1)69 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)70 /// Storage: Refungible TokenProperties (r:1 w:1)71 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)72 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)73 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)74 /// Storage: Refungible Balance (r:0 w:1)75 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)76 /// Storage: Refungible TotalSupply (r:0 w:1)77 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)78 /// Storage: Refungible Owned (r:0 w:1)79 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)80 fn create_item() -> Weight {81 // Proof Size summary in bytes:82 // Measured: `285`83 // Estimated: `63471`84 // Minimum execution time: 30_759_000 picoseconds.85 Weight::from_parts(31_321_000, 63471)86 .saturating_add(T::DbWeight::get().reads(4_u64))87 .saturating_add(T::DbWeight::get().writes(6_u64))88 }89 /// Storage: Refungible TokensMinted (r:1 w:1)90 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)91 /// Storage: Refungible AccountBalance (r:1 w:1)92 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)93 /// Storage: Refungible TokenProperties (r:200 w:200)94 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)95 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)96 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)97 /// Storage: Refungible Balance (r:0 w:200)98 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)99 /// Storage: Refungible TotalSupply (r:0 w:200)100 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)101 /// Storage: Refungible Owned (r:0 w:200)102 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)103 /// The range of component `b` is `[0, 200]`.104 fn create_multiple_items(b: u32, ) -> Weight {105 // Proof Size summary in bytes:106 // Measured: `285`107 // Estimated: `28192 + b * (35279 ±0)`108 // Minimum execution time: 4_024_000 picoseconds.109 Weight::from_parts(4_145_000, 28192)110 // Standard Error: 3_332111 .saturating_add(Weight::from_parts(8_967_757, 0).saturating_mul(b.into()))112 .saturating_add(T::DbWeight::get().reads(3_u64))113 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))114 .saturating_add(T::DbWeight::get().writes(2_u64))115 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))116 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))117 }118 /// Storage: Refungible TokensMinted (r:1 w:1)119 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)120 /// Storage: Refungible AccountBalance (r:200 w:200)121 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)122 /// Storage: Refungible TokenProperties (r:200 w:200)123 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)124 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)125 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)126 /// Storage: Refungible Balance (r:0 w:200)127 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)128 /// Storage: Refungible TotalSupply (r:0 w:200)129 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)130 /// Storage: Refungible Owned (r:0 w:200)131 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)132 /// The range of component `b` is `[0, 200]`.133 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {134 // Proof Size summary in bytes:135 // Measured: `285`136 // Estimated: `25652 + b * (37819 ±0)`137 // Minimum execution time: 3_715_000 picoseconds.138 Weight::from_parts(3_881_000, 25652)139 // Standard Error: 3_275140 .saturating_add(Weight::from_parts(10_525_271, 0).saturating_mul(b.into()))141 .saturating_add(T::DbWeight::get().reads(2_u64))142 .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(b.into())))143 .saturating_add(T::DbWeight::get().writes(1_u64))144 .saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(b.into())))145 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))146 }147 /// Storage: Refungible TokensMinted (r:1 w:1)148 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)149 /// Storage: Refungible AccountBalance (r:200 w:200)150 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)151 /// Storage: Refungible TokenProperties (r:1 w:1)152 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)153 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)154 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)155 /// Storage: Refungible Balance (r:0 w:200)156 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)157 /// Storage: Refungible TotalSupply (r:0 w:1)158 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)159 /// Storage: Refungible Owned (r:0 w:200)160 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)161 /// The range of component `b` is `[0, 200]`.162 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {163 // Proof Size summary in bytes:164 // Measured: `285`165 // Estimated: `60931 + b * (2540 ±0)`166 // Minimum execution time: 13_150_000 picoseconds.167 Weight::from_parts(15_655_930, 60931)168 // Standard Error: 4_170169 .saturating_add(Weight::from_parts(5_673_702, 0).saturating_mul(b.into()))170 .saturating_add(T::DbWeight::get().reads(3_u64))171 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))172 .saturating_add(T::DbWeight::get().writes(3_u64))173 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))174 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))175 }176 /// Storage: Refungible Balance (r:3 w:1)177 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)178 /// Storage: Refungible TotalSupply (r:1 w:1)179 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)180 /// Storage: Refungible AccountBalance (r:1 w:1)181 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)182 /// Storage: Refungible Owned (r:0 w:1)183 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)184 fn burn_item_partial() -> Weight {185 // Proof Size summary in bytes:186 // Measured: `490`187 // Estimated: `15717`188 // Minimum execution time: 28_992_000 picoseconds.189 Weight::from_parts(29_325_000, 15717)190 .saturating_add(T::DbWeight::get().reads(5_u64))191 .saturating_add(T::DbWeight::get().writes(4_u64))192 }193 /// Storage: Refungible Balance (r:1 w:1)194 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)195 /// Storage: Refungible TotalSupply (r:1 w:1)196 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)197 /// Storage: Refungible AccountBalance (r:1 w:1)198 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)199 /// Storage: Refungible TokensBurnt (r:1 w:1)200 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)201 /// Storage: Refungible Owned (r:0 w:1)202 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)203 /// Storage: Refungible TokenProperties (r:0 w:1)204 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)205 fn burn_item_fully() -> Weight {206 // Proof Size summary in bytes:207 // Measured: `375`208 // Estimated: `14070`209 // Minimum execution time: 27_980_000 picoseconds.210 Weight::from_parts(28_582_000, 14070)211 .saturating_add(T::DbWeight::get().reads(4_u64))212 .saturating_add(T::DbWeight::get().writes(6_u64))213 }214 /// Storage: Refungible Balance (r:2 w:2)215 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)216 /// Storage: Refungible TotalSupply (r:1 w:0)217 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)218 fn transfer_normal() -> Weight {219 // Proof Size summary in bytes:220 // Measured: `398`221 // Estimated: `9623`222 // Minimum execution time: 18_746_000 picoseconds.223 Weight::from_parts(19_096_000, 9623)224 .saturating_add(T::DbWeight::get().reads(3_u64))225 .saturating_add(T::DbWeight::get().writes(2_u64))226 }227 /// Storage: Refungible Balance (r:2 w:2)228 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)229 /// Storage: Refungible AccountBalance (r:1 w:1)230 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)231 /// Storage: Refungible TotalSupply (r:1 w:0)232 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)233 /// Storage: Refungible Owned (r:0 w:1)234 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)235 fn transfer_creating() -> Weight {236 // Proof Size summary in bytes:237 // Measured: `375`238 // Estimated: `13153`239 // Minimum execution time: 21_719_000 picoseconds.240 Weight::from_parts(22_219_000, 13153)241 .saturating_add(T::DbWeight::get().reads(4_u64))242 .saturating_add(T::DbWeight::get().writes(4_u64))243 }244 /// Storage: Refungible Balance (r:2 w:2)245 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)246 /// Storage: Refungible AccountBalance (r:1 w:1)247 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)248 /// Storage: Refungible TotalSupply (r:1 w:0)249 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)250 /// Storage: Refungible Owned (r:0 w:1)251 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)252 fn transfer_removing() -> Weight {253 // Proof Size summary in bytes:254 // Measured: `490`255 // Estimated: `13153`256 // Minimum execution time: 24_784_000 picoseconds.257 Weight::from_parts(25_231_000, 13153)258 .saturating_add(T::DbWeight::get().reads(4_u64))259 .saturating_add(T::DbWeight::get().writes(4_u64))260 }261 /// Storage: Refungible Balance (r:2 w:2)262 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)263 /// Storage: Refungible AccountBalance (r:2 w:2)264 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)265 /// Storage: Refungible TotalSupply (r:1 w:0)266 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)267 /// Storage: Refungible Owned (r:0 w:2)268 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)269 fn transfer_creating_removing() -> Weight {270 // Proof Size summary in bytes:271 // Measured: `375`272 // Estimated: `15693`273 // Minimum execution time: 24_865_000 picoseconds.274 Weight::from_parts(25_253_000, 15693)275 .saturating_add(T::DbWeight::get().reads(5_u64))276 .saturating_add(T::DbWeight::get().writes(6_u64))277 }278 /// Storage: Refungible Balance (r:1 w:0)279 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)280 /// Storage: Refungible Allowance (r:0 w:1)281 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)282 fn approve() -> Weight {283 // Proof Size summary in bytes:284 // Measured: `256`285 // Estimated: `3554`286 // Minimum execution time: 12_318_000 picoseconds.287 Weight::from_parts(12_597_000, 3554)288 .saturating_add(T::DbWeight::get().reads(1_u64))289 .saturating_add(T::DbWeight::get().writes(1_u64))290 }291 /// Storage: Refungible Balance (r:1 w:0)292 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)293 /// Storage: Refungible Allowance (r:0 w:1)294 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)295 fn approve_from() -> Weight {296 // Proof Size summary in bytes:297 // Measured: `244`298 // Estimated: `3554`299 // Minimum execution time: 12_276_000 picoseconds.300 Weight::from_parts(12_557_000, 3554)301 .saturating_add(T::DbWeight::get().reads(1_u64))302 .saturating_add(T::DbWeight::get().writes(1_u64))303 }304 /// Storage: Refungible Allowance (r:1 w:1)305 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)306 /// Storage: Refungible Balance (r:2 w:2)307 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)308 /// Storage: Refungible TotalSupply (r:1 w:0)309 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)310 fn transfer_from_normal() -> Weight {311 // Proof Size summary in bytes:312 // Measured: `528`313 // Estimated: `13193`314 // Minimum execution time: 26_852_000 picoseconds.315 Weight::from_parts(27_427_000, 13193)316 .saturating_add(T::DbWeight::get().reads(4_u64))317 .saturating_add(T::DbWeight::get().writes(3_u64))318 }319 /// Storage: Refungible Allowance (r:1 w:1)320 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)321 /// Storage: Refungible Balance (r:2 w:2)322 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)323 /// Storage: Refungible AccountBalance (r:1 w:1)324 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)325 /// Storage: Refungible TotalSupply (r:1 w:0)326 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)327 /// Storage: Refungible Owned (r:0 w:1)328 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)329 fn transfer_from_creating() -> Weight {330 // Proof Size summary in bytes:331 // Measured: `505`332 // Estimated: `16723`333 // Minimum execution time: 29_893_000 picoseconds.334 Weight::from_parts(30_345_000, 16723)335 .saturating_add(T::DbWeight::get().reads(5_u64))336 .saturating_add(T::DbWeight::get().writes(5_u64))337 }338 /// Storage: Refungible Allowance (r:1 w:1)339 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)340 /// Storage: Refungible Balance (r:2 w:2)341 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)342 /// Storage: Refungible AccountBalance (r:1 w:1)343 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)344 /// Storage: Refungible TotalSupply (r:1 w:0)345 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)346 /// Storage: Refungible Owned (r:0 w:1)347 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)348 fn transfer_from_removing() -> Weight {349 // Proof Size summary in bytes:350 // Measured: `620`351 // Estimated: `16723`352 // Minimum execution time: 32_784_000 picoseconds.353 Weight::from_parts(33_322_000, 16723)354 .saturating_add(T::DbWeight::get().reads(5_u64))355 .saturating_add(T::DbWeight::get().writes(5_u64))356 }357 /// Storage: Refungible Allowance (r:1 w:1)358 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)359 /// Storage: Refungible Balance (r:2 w:2)360 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)361 /// Storage: Refungible AccountBalance (r:2 w:2)362 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)363 /// Storage: Refungible TotalSupply (r:1 w:0)364 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)365 /// Storage: Refungible Owned (r:0 w:2)366 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)367 fn transfer_from_creating_removing() -> Weight {368 // Proof Size summary in bytes:369 // Measured: `505`370 // Estimated: `19263`371 // Minimum execution time: 32_987_000 picoseconds.372 Weight::from_parts(33_428_000, 19263)373 .saturating_add(T::DbWeight::get().reads(6_u64))374 .saturating_add(T::DbWeight::get().writes(7_u64))375 }376 /// Storage: Refungible Allowance (r:1 w:1)377 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)378 /// Storage: Refungible Balance (r:1 w:1)379 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)380 /// Storage: Refungible TotalSupply (r:1 w:1)381 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)382 /// Storage: Refungible AccountBalance (r:1 w:1)383 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)384 /// Storage: Refungible TokensBurnt (r:1 w:1)385 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)386 /// Storage: Refungible Owned (r:0 w:1)387 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)388 /// Storage: Refungible TokenProperties (r:0 w:1)389 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)390 fn burn_from() -> Weight {391 // Proof Size summary in bytes:392 // Measured: `505`393 // Estimated: `17640`394 // Minimum execution time: 38_277_000 picoseconds.395 Weight::from_parts(38_983_000, 17640)396 .saturating_add(T::DbWeight::get().reads(5_u64))397 .saturating_add(T::DbWeight::get().writes(7_u64))398 }399 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)400 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)401 /// The range of component `b` is `[0, 64]`.402 fn set_token_property_permissions(b: u32, ) -> Weight {403 // Proof Size summary in bytes:404 // Measured: `281`405 // Estimated: `20191`406 // Minimum execution time: 2_254_000 picoseconds.407 Weight::from_parts(2_335_000, 20191)408 // Standard Error: 44_906409 .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))410 .saturating_add(T::DbWeight::get().reads(1_u64))411 .saturating_add(T::DbWeight::get().writes(1_u64))412 }413 /// Storage: Refungible TokenProperties (r:1 w:1)414 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)415 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)416 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)417 /// The range of component `b` is `[0, 64]`.418 fn set_token_properties(b: u32, ) -> Weight {419 // Proof Size summary in bytes:420 // Measured: `458 + b * (261 ±0)`421 // Estimated: `56460`422 // Minimum execution time: 11_249_000 picoseconds.423 Weight::from_parts(11_420_000, 56460)424 // Standard Error: 72_033425 .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))426 .saturating_add(T::DbWeight::get().reads(2_u64))427 .saturating_add(T::DbWeight::get().writes(1_u64))428 }429 /// Storage: Refungible TokenProperties (r:1 w:1)430 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)431 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)432 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)433 /// The range of component `b` is `[0, 64]`.434 fn delete_token_properties(b: u32, ) -> Weight {435 // Proof Size summary in bytes:436 // Measured: `463 + b * (33291 ±0)`437 // Estimated: `56460`438 // Minimum execution time: 11_368_000 picoseconds.439 Weight::from_parts(11_546_000, 56460)440 // Standard Error: 85_444441 .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))442 .saturating_add(T::DbWeight::get().reads(2_u64))443 .saturating_add(T::DbWeight::get().writes(1_u64))444 }445 /// Storage: Refungible TotalSupply (r:1 w:1)446 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)447 /// Storage: Refungible Balance (r:1 w:1)448 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)449 fn repartition_item() -> Weight {450 // Proof Size summary in bytes:451 // Measured: `321`452 // Estimated: `7059`453 // Minimum execution time: 13_586_000 picoseconds.454 Weight::from_parts(14_489_000, 7059)455 .saturating_add(T::DbWeight::get().reads(2_u64))456 .saturating_add(T::DbWeight::get().writes(2_u64))457 }458 /// Storage: Refungible Balance (r:2 w:0)459 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)460 fn token_owner() -> Weight {461 // Proof Size summary in bytes:462 // Measured: `321`463 // Estimated: `6118`464 // Minimum execution time: 7_049_000 picoseconds.465 Weight::from_parts(7_320_000, 6118)466 .saturating_add(T::DbWeight::get().reads(2_u64))467 }468 /// Storage: Refungible CollectionAllowance (r:0 w:1)469 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)470 fn set_allowance_for_all() -> Weight {471 // Proof Size summary in bytes:472 // Measured: `0`473 // Estimated: `0`474 // Minimum execution time: 6_432_000 picoseconds.475 Weight::from_parts(6_642_000, 0)476 .saturating_add(T::DbWeight::get().writes(1_u64))477 }478 /// Storage: Refungible CollectionAllowance (r:1 w:0)479 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)480 fn allowance_for_all() -> Weight {481 // Proof Size summary in bytes:482 // Measured: `4`483 // Estimated: `3576`484 // Minimum execution time: 3_030_000 picoseconds.485 Weight::from_parts(3_206_000, 3576)486 .saturating_add(T::DbWeight::get().reads(1_u64))487 }488 /// Storage: Refungible TokenProperties (r:1 w:1)489 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)490 fn repair_item() -> Weight {491 // Proof Size summary in bytes:492 // Measured: `174`493 // Estimated: `36269`494 // Minimum execution time: 4_371_000 picoseconds.495 Weight::from_parts(4_555_000, 36269)496 .saturating_add(T::DbWeight::get().reads(1_u64))497 .saturating_add(T::DbWeight::get().writes(1_u64))498 }499}500501// For backwards compatibility and tests502impl WeightInfo for () {503 /// Storage: Refungible TokensMinted (r:1 w:1)504 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)505 /// Storage: Refungible AccountBalance (r:1 w:1)506 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)507 /// Storage: Refungible TokenProperties (r:1 w:1)508 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)509 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)510 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)511 /// Storage: Refungible Balance (r:0 w:1)512 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)513 /// Storage: Refungible TotalSupply (r:0 w:1)514 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)515 /// Storage: Refungible Owned (r:0 w:1)516 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)517 fn create_item() -> Weight {518 // Proof Size summary in bytes:519 // Measured: `285`520 // Estimated: `63471`521 // Minimum execution time: 30_759_000 picoseconds.522 Weight::from_parts(31_321_000, 63471)523 .saturating_add(RocksDbWeight::get().reads(4_u64))524 .saturating_add(RocksDbWeight::get().writes(6_u64))525 }526 /// Storage: Refungible TokensMinted (r:1 w:1)527 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)528 /// Storage: Refungible AccountBalance (r:1 w:1)529 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)530 /// Storage: Refungible TokenProperties (r:200 w:200)531 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)532 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)533 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)534 /// Storage: Refungible Balance (r:0 w:200)535 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)536 /// Storage: Refungible TotalSupply (r:0 w:200)537 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)538 /// Storage: Refungible Owned (r:0 w:200)539 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)540 /// The range of component `b` is `[0, 200]`.541 fn create_multiple_items(b: u32, ) -> Weight {542 // Proof Size summary in bytes:543 // Measured: `285`544 // Estimated: `28192 + b * (35279 ±0)`545 // Minimum execution time: 4_024_000 picoseconds.546 Weight::from_parts(4_145_000, 28192)547 // Standard Error: 3_332548 .saturating_add(Weight::from_parts(8_967_757, 0).saturating_mul(b.into()))549 .saturating_add(RocksDbWeight::get().reads(3_u64))550 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))551 .saturating_add(RocksDbWeight::get().writes(2_u64))552 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))553 .saturating_add(Weight::from_parts(0, 35279).saturating_mul(b.into()))554 }555 /// Storage: Refungible TokensMinted (r:1 w:1)556 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)557 /// Storage: Refungible AccountBalance (r:200 w:200)558 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)559 /// Storage: Refungible TokenProperties (r:200 w:200)560 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)561 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)562 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)563 /// Storage: Refungible Balance (r:0 w:200)564 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)565 /// Storage: Refungible TotalSupply (r:0 w:200)566 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)567 /// Storage: Refungible Owned (r:0 w:200)568 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)569 /// The range of component `b` is `[0, 200]`.570 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {571 // Proof Size summary in bytes:572 // Measured: `285`573 // Estimated: `25652 + b * (37819 ±0)`574 // Minimum execution time: 3_715_000 picoseconds.575 Weight::from_parts(3_881_000, 25652)576 // Standard Error: 3_275577 .saturating_add(Weight::from_parts(10_525_271, 0).saturating_mul(b.into()))578 .saturating_add(RocksDbWeight::get().reads(2_u64))579 .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(b.into())))580 .saturating_add(RocksDbWeight::get().writes(1_u64))581 .saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(b.into())))582 .saturating_add(Weight::from_parts(0, 37819).saturating_mul(b.into()))583 }584 /// Storage: Refungible TokensMinted (r:1 w:1)585 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)586 /// Storage: Refungible AccountBalance (r:200 w:200)587 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)588 /// Storage: Refungible TokenProperties (r:1 w:1)589 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)590 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)591 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)592 /// Storage: Refungible Balance (r:0 w:200)593 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)594 /// Storage: Refungible TotalSupply (r:0 w:1)595 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)596 /// Storage: Refungible Owned (r:0 w:200)597 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)598 /// The range of component `b` is `[0, 200]`.599 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {600 // Proof Size summary in bytes:601 // Measured: `285`602 // Estimated: `60931 + b * (2540 ±0)`603 // Minimum execution time: 13_150_000 picoseconds.604 Weight::from_parts(15_655_930, 60931)605 // Standard Error: 4_170606 .saturating_add(Weight::from_parts(5_673_702, 0).saturating_mul(b.into()))607 .saturating_add(RocksDbWeight::get().reads(3_u64))608 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))609 .saturating_add(RocksDbWeight::get().writes(3_u64))610 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))611 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))612 }613 /// Storage: Refungible Balance (r:3 w:1)614 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)615 /// Storage: Refungible TotalSupply (r:1 w:1)616 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)617 /// Storage: Refungible AccountBalance (r:1 w:1)618 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)619 /// Storage: Refungible Owned (r:0 w:1)620 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)621 fn burn_item_partial() -> Weight {622 // Proof Size summary in bytes:623 // Measured: `490`624 // Estimated: `15717`625 // Minimum execution time: 28_992_000 picoseconds.626 Weight::from_parts(29_325_000, 15717)627 .saturating_add(RocksDbWeight::get().reads(5_u64))628 .saturating_add(RocksDbWeight::get().writes(4_u64))629 }630 /// Storage: Refungible Balance (r:1 w:1)631 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)632 /// Storage: Refungible TotalSupply (r:1 w:1)633 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)634 /// Storage: Refungible AccountBalance (r:1 w:1)635 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)636 /// Storage: Refungible TokensBurnt (r:1 w:1)637 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)638 /// Storage: Refungible Owned (r:0 w:1)639 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)640 /// Storage: Refungible TokenProperties (r:0 w:1)641 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)642 fn burn_item_fully() -> Weight {643 // Proof Size summary in bytes:644 // Measured: `375`645 // Estimated: `14070`646 // Minimum execution time: 27_980_000 picoseconds.647 Weight::from_parts(28_582_000, 14070)648 .saturating_add(RocksDbWeight::get().reads(4_u64))649 .saturating_add(RocksDbWeight::get().writes(6_u64))650 }651 /// Storage: Refungible Balance (r:2 w:2)652 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)653 /// Storage: Refungible TotalSupply (r:1 w:0)654 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)655 fn transfer_normal() -> Weight {656 // Proof Size summary in bytes:657 // Measured: `398`658 // Estimated: `9623`659 // Minimum execution time: 18_746_000 picoseconds.660 Weight::from_parts(19_096_000, 9623)661 .saturating_add(RocksDbWeight::get().reads(3_u64))662 .saturating_add(RocksDbWeight::get().writes(2_u64))663 }664 /// Storage: Refungible Balance (r:2 w:2)665 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)666 /// Storage: Refungible AccountBalance (r:1 w:1)667 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)668 /// Storage: Refungible TotalSupply (r:1 w:0)669 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)670 /// Storage: Refungible Owned (r:0 w:1)671 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)672 fn transfer_creating() -> Weight {673 // Proof Size summary in bytes:674 // Measured: `375`675 // Estimated: `13153`676 // Minimum execution time: 21_719_000 picoseconds.677 Weight::from_parts(22_219_000, 13153)678 .saturating_add(RocksDbWeight::get().reads(4_u64))679 .saturating_add(RocksDbWeight::get().writes(4_u64))680 }681 /// Storage: Refungible Balance (r:2 w:2)682 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)683 /// Storage: Refungible AccountBalance (r:1 w:1)684 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)685 /// Storage: Refungible TotalSupply (r:1 w:0)686 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)687 /// Storage: Refungible Owned (r:0 w:1)688 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)689 fn transfer_removing() -> Weight {690 // Proof Size summary in bytes:691 // Measured: `490`692 // Estimated: `13153`693 // Minimum execution time: 24_784_000 picoseconds.694 Weight::from_parts(25_231_000, 13153)695 .saturating_add(RocksDbWeight::get().reads(4_u64))696 .saturating_add(RocksDbWeight::get().writes(4_u64))697 }698 /// Storage: Refungible Balance (r:2 w:2)699 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)700 /// Storage: Refungible AccountBalance (r:2 w:2)701 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)702 /// Storage: Refungible TotalSupply (r:1 w:0)703 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)704 /// Storage: Refungible Owned (r:0 w:2)705 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)706 fn transfer_creating_removing() -> Weight {707 // Proof Size summary in bytes:708 // Measured: `375`709 // Estimated: `15693`710 // Minimum execution time: 24_865_000 picoseconds.711 Weight::from_parts(25_253_000, 15693)712 .saturating_add(RocksDbWeight::get().reads(5_u64))713 .saturating_add(RocksDbWeight::get().writes(6_u64))714 }715 /// Storage: Refungible Balance (r:1 w:0)716 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)717 /// Storage: Refungible Allowance (r:0 w:1)718 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)719 fn approve() -> Weight {720 // Proof Size summary in bytes:721 // Measured: `256`722 // Estimated: `3554`723 // Minimum execution time: 12_318_000 picoseconds.724 Weight::from_parts(12_597_000, 3554)725 .saturating_add(RocksDbWeight::get().reads(1_u64))726 .saturating_add(RocksDbWeight::get().writes(1_u64))727 }728 /// Storage: Refungible Balance (r:1 w:0)729 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)730 /// Storage: Refungible Allowance (r:0 w:1)731 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)732 fn approve_from() -> Weight {733 // Proof Size summary in bytes:734 // Measured: `244`735 // Estimated: `3554`736 // Minimum execution time: 12_276_000 picoseconds.737 Weight::from_parts(12_557_000, 3554)738 .saturating_add(RocksDbWeight::get().reads(1_u64))739 .saturating_add(RocksDbWeight::get().writes(1_u64))740 }741 /// Storage: Refungible Allowance (r:1 w:1)742 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)743 /// Storage: Refungible Balance (r:2 w:2)744 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)745 /// Storage: Refungible TotalSupply (r:1 w:0)746 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)747 fn transfer_from_normal() -> Weight {748 // Proof Size summary in bytes:749 // Measured: `528`750 // Estimated: `13193`751 // Minimum execution time: 26_852_000 picoseconds.752 Weight::from_parts(27_427_000, 13193)753 .saturating_add(RocksDbWeight::get().reads(4_u64))754 .saturating_add(RocksDbWeight::get().writes(3_u64))755 }756 /// Storage: Refungible Allowance (r:1 w:1)757 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)758 /// Storage: Refungible Balance (r:2 w:2)759 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)760 /// Storage: Refungible AccountBalance (r:1 w:1)761 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)762 /// Storage: Refungible TotalSupply (r:1 w:0)763 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)764 /// Storage: Refungible Owned (r:0 w:1)765 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)766 fn transfer_from_creating() -> Weight {767 // Proof Size summary in bytes:768 // Measured: `505`769 // Estimated: `16723`770 // Minimum execution time: 29_893_000 picoseconds.771 Weight::from_parts(30_345_000, 16723)772 .saturating_add(RocksDbWeight::get().reads(5_u64))773 .saturating_add(RocksDbWeight::get().writes(5_u64))774 }775 /// Storage: Refungible Allowance (r:1 w:1)776 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)777 /// Storage: Refungible Balance (r:2 w:2)778 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)779 /// Storage: Refungible AccountBalance (r:1 w:1)780 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)781 /// Storage: Refungible TotalSupply (r:1 w:0)782 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)783 /// Storage: Refungible Owned (r:0 w:1)784 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)785 fn transfer_from_removing() -> Weight {786 // Proof Size summary in bytes:787 // Measured: `620`788 // Estimated: `16723`789 // Minimum execution time: 32_784_000 picoseconds.790 Weight::from_parts(33_322_000, 16723)791 .saturating_add(RocksDbWeight::get().reads(5_u64))792 .saturating_add(RocksDbWeight::get().writes(5_u64))793 }794 /// Storage: Refungible Allowance (r:1 w:1)795 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)796 /// Storage: Refungible Balance (r:2 w:2)797 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)798 /// Storage: Refungible AccountBalance (r:2 w:2)799 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)800 /// Storage: Refungible TotalSupply (r:1 w:0)801 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)802 /// Storage: Refungible Owned (r:0 w:2)803 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)804 fn transfer_from_creating_removing() -> Weight {805 // Proof Size summary in bytes:806 // Measured: `505`807 // Estimated: `19263`808 // Minimum execution time: 32_987_000 picoseconds.809 Weight::from_parts(33_428_000, 19263)810 .saturating_add(RocksDbWeight::get().reads(6_u64))811 .saturating_add(RocksDbWeight::get().writes(7_u64))812 }813 /// Storage: Refungible Allowance (r:1 w:1)814 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)815 /// Storage: Refungible Balance (r:1 w:1)816 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)817 /// Storage: Refungible TotalSupply (r:1 w:1)818 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)819 /// Storage: Refungible AccountBalance (r:1 w:1)820 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)821 /// Storage: Refungible TokensBurnt (r:1 w:1)822 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)823 /// Storage: Refungible Owned (r:0 w:1)824 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)825 /// Storage: Refungible TokenProperties (r:0 w:1)826 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)827 fn burn_from() -> Weight {828 // Proof Size summary in bytes:829 // Measured: `505`830 // Estimated: `17640`831 // Minimum execution time: 38_277_000 picoseconds.832 Weight::from_parts(38_983_000, 17640)833 .saturating_add(RocksDbWeight::get().reads(5_u64))834 .saturating_add(RocksDbWeight::get().writes(7_u64))835 }836 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)837 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)838 /// The range of component `b` is `[0, 64]`.839 fn set_token_property_permissions(b: u32, ) -> Weight {840 // Proof Size summary in bytes:841 // Measured: `281`842 // Estimated: `20191`843 // Minimum execution time: 2_254_000 picoseconds.844 Weight::from_parts(2_335_000, 20191)845 // Standard Error: 44_906846 .saturating_add(Weight::from_parts(12_118_499, 0).saturating_mul(b.into()))847 .saturating_add(RocksDbWeight::get().reads(1_u64))848 .saturating_add(RocksDbWeight::get().writes(1_u64))849 }850 /// Storage: Refungible TokenProperties (r:1 w:1)851 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)852 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)853 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)854 /// The range of component `b` is `[0, 64]`.855 fn set_token_properties(b: u32, ) -> Weight {856 // Proof Size summary in bytes:857 // Measured: `458 + b * (261 ±0)`858 // Estimated: `56460`859 // Minimum execution time: 11_249_000 picoseconds.860 Weight::from_parts(11_420_000, 56460)861 // Standard Error: 72_033862 .saturating_add(Weight::from_parts(7_008_012, 0).saturating_mul(b.into()))863 .saturating_add(RocksDbWeight::get().reads(2_u64))864 .saturating_add(RocksDbWeight::get().writes(1_u64))865 }866 /// Storage: Refungible TokenProperties (r:1 w:1)867 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)868 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)869 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)870 /// The range of component `b` is `[0, 64]`.871 fn delete_token_properties(b: u32, ) -> Weight {872 // Proof Size summary in bytes:873 // Measured: `463 + b * (33291 ±0)`874 // Estimated: `56460`875 // Minimum execution time: 11_368_000 picoseconds.876 Weight::from_parts(11_546_000, 56460)877 // Standard Error: 85_444878 .saturating_add(Weight::from_parts(24_644_980, 0).saturating_mul(b.into()))879 .saturating_add(RocksDbWeight::get().reads(2_u64))880 .saturating_add(RocksDbWeight::get().writes(1_u64))881 }882 /// Storage: Refungible TotalSupply (r:1 w:1)883 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)884 /// Storage: Refungible Balance (r:1 w:1)885 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)886 fn repartition_item() -> Weight {887 // Proof Size summary in bytes:888 // Measured: `321`889 // Estimated: `7059`890 // Minimum execution time: 13_586_000 picoseconds.891 Weight::from_parts(14_489_000, 7059)892 .saturating_add(RocksDbWeight::get().reads(2_u64))893 .saturating_add(RocksDbWeight::get().writes(2_u64))894 }895 /// Storage: Refungible Balance (r:2 w:0)896 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)897 fn token_owner() -> Weight {898 // Proof Size summary in bytes:899 // Measured: `321`900 // Estimated: `6118`901 // Minimum execution time: 7_049_000 picoseconds.902 Weight::from_parts(7_320_000, 6118)903 .saturating_add(RocksDbWeight::get().reads(2_u64))904 }905 /// Storage: Refungible CollectionAllowance (r:0 w:1)906 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)907 fn set_allowance_for_all() -> Weight {908 // Proof Size summary in bytes:909 // Measured: `0`910 // Estimated: `0`911 // Minimum execution time: 6_432_000 picoseconds.912 Weight::from_parts(6_642_000, 0)913 .saturating_add(RocksDbWeight::get().writes(1_u64))914 }915 /// Storage: Refungible CollectionAllowance (r:1 w:0)916 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)917 fn allowance_for_all() -> Weight {918 // Proof Size summary in bytes:919 // Measured: `4`920 // Estimated: `3576`921 // Minimum execution time: 3_030_000 picoseconds.922 Weight::from_parts(3_206_000, 3576)923 .saturating_add(RocksDbWeight::get().reads(1_u64))924 }925 /// Storage: Refungible TokenProperties (r:1 w:1)926 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)927 fn repair_item() -> Weight {928 // Proof Size summary in bytes:929 // Measured: `174`930 // Estimated: `36269`931 // Minimum execution time: 4_371_000 picoseconds.932 Weight::from_parts(4_555_000, 36269)933 .saturating_add(RocksDbWeight::get().reads(1_u64))934 .saturating_add(RocksDbWeight::get().writes(1_u64))935 }936}9371// Template adopted from https://github.com/paritytech/substrate/blob/master/.maintain/frame-weight-template.hbs23//! Autogenerated weights for pallet_refungible4//!5//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev6//! DATE: 2023-09-25, STEPS: `50`, REPEAT: `80`, LOW RANGE: `[]`, HIGH RANGE: `[]`7//! WORST CASE MAP SIZE: `1000000`8//! HOSTNAME: `hearthstone`, CPU: `AMD Ryzen 9 7950X3D 16-Core Processor`9//! EXECUTION: None, WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 10241011// Executed Command:12// target/release/unique-collator13// benchmark14// pallet15// --pallet16// pallet-refungible17// --wasm-execution18// compiled19// --extrinsic20// *21// --template=.maintain/frame-weight-template.hbs22// --steps=5023// --repeat=8024// --heap-pages=409625// --output=./pallets/refungible/src/weights.rs2627#![cfg_attr(rustfmt, rustfmt_skip)]28#![allow(unused_parens)]29#![allow(unused_imports)]3031use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};32use sp_std::marker::PhantomData;3334/// Weight functions needed for pallet_refungible.35pub trait WeightInfo {36 fn create_item() -> Weight;37 fn create_multiple_items(b: u32, ) -> Weight;38 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight;39 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight;40 fn burn_item_partial() -> Weight;41 fn burn_item_fully() -> Weight;42 fn transfer_normal() -> Weight;43 fn transfer_creating() -> Weight;44 fn transfer_removing() -> Weight;45 fn transfer_creating_removing() -> Weight;46 fn approve() -> Weight;47 fn approve_from() -> Weight;48 fn transfer_from_normal() -> Weight;49 fn transfer_from_creating() -> Weight;50 fn transfer_from_removing() -> Weight;51 fn transfer_from_creating_removing() -> Weight;52 fn burn_from() -> Weight;53 fn set_token_property_permissions(b: u32, ) -> Weight;54 fn set_token_properties(b: u32, ) -> Weight;55 fn reset_token_properties(b: u32, ) -> Weight;56 fn delete_token_properties(b: u32, ) -> Weight;57 fn repartition_item() -> Weight;58 fn token_owner() -> Weight;59 fn set_allowance_for_all() -> Weight;60 fn allowance_for_all() -> Weight;61 fn repair_item() -> Weight;62}6364/// Weights for pallet_refungible using the Substrate node and recommended hardware.65pub struct SubstrateWeight<T>(PhantomData<T>);66impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {67 /// Storage: Refungible TokensMinted (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)70 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)71 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)72 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)73 /// Storage: Refungible Balance (r:0 w:1)74 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)75 /// Storage: Refungible TotalSupply (r:0 w:1)76 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)77 /// Storage: Refungible Owned (r:0 w:1)78 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)79 fn create_item() -> Weight {80 // Proof Size summary in bytes:81 // Measured: `318`82 // Estimated: `20191`83 // Minimum execution time: 11_620_000 picoseconds.84 Weight::from_parts(12_110_000, 20191)85 .saturating_add(T::DbWeight::get().reads(3_u64))86 .saturating_add(T::DbWeight::get().writes(5_u64))87 }88 /// Storage: Refungible TokensMinted (r:1 w:1)89 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)90 /// Storage: Refungible AccountBalance (r:1 w:1)91 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)92 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)93 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)94 /// Storage: Refungible Balance (r:0 w:200)95 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)96 /// Storage: Refungible TotalSupply (r:0 w:200)97 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)98 /// Storage: Refungible Owned (r:0 w:200)99 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)100 /// The range of component `b` is `[0, 200]`.101 fn create_multiple_items(b: u32, ) -> Weight {102 // Proof Size summary in bytes:103 // Measured: `318`104 // Estimated: `20191`105 // Minimum execution time: 1_690_000 picoseconds.106 Weight::from_parts(1_750_000, 20191)107 // Standard Error: 1_647108 .saturating_add(Weight::from_parts(4_876_194, 0).saturating_mul(b.into()))109 .saturating_add(T::DbWeight::get().reads(3_u64))110 .saturating_add(T::DbWeight::get().writes(2_u64))111 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))112 }113 /// Storage: Refungible TokensMinted (r:1 w:1)114 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)115 /// Storage: Refungible AccountBalance (r:200 w:200)116 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)117 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)118 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)119 /// Storage: Refungible Balance (r:0 w:200)120 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)121 /// Storage: Refungible TotalSupply (r:0 w:200)122 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)123 /// Storage: Refungible Owned (r:0 w:200)124 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)125 /// The range of component `b` is `[0, 200]`.126 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {127 // Proof Size summary in bytes:128 // Measured: `318`129 // Estimated: `20191 + b * (2540 ±0)`130 // Minimum execution time: 1_730_000 picoseconds.131 Weight::from_parts(1_790_000, 20191)132 // Standard Error: 1_611133 .saturating_add(Weight::from_parts(6_002_948, 0).saturating_mul(b.into()))134 .saturating_add(T::DbWeight::get().reads(2_u64))135 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))136 .saturating_add(T::DbWeight::get().writes(1_u64))137 .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(b.into())))138 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))139 }140 /// Storage: Refungible TokensMinted (r:1 w:1)141 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)142 /// Storage: Refungible AccountBalance (r:200 w:200)143 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)144 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)145 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)146 /// Storage: Refungible Balance (r:0 w:200)147 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)148 /// Storage: Refungible TotalSupply (r:0 w:1)149 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)150 /// Storage: Refungible Owned (r:0 w:200)151 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)152 /// The range of component `b` is `[0, 200]`.153 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {154 // Proof Size summary in bytes:155 // Measured: `318`156 // Estimated: `20191 + b * (2540 ±0)`157 // Minimum execution time: 6_260_000 picoseconds.158 Weight::from_parts(2_297_892, 20191)159 // Standard Error: 1_302160 .saturating_add(Weight::from_parts(4_093_180, 0).saturating_mul(b.into()))161 .saturating_add(T::DbWeight::get().reads(2_u64))162 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into())))163 .saturating_add(T::DbWeight::get().writes(2_u64))164 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(b.into())))165 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))166 }167 /// Storage: Refungible Balance (r:3 w:1)168 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)169 /// Storage: Refungible TotalSupply (r:1 w:1)170 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)171 /// Storage: Refungible AccountBalance (r:1 w:1)172 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)173 /// Storage: Refungible Owned (r:0 w:1)174 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)175 fn burn_item_partial() -> Weight {176 // Proof Size summary in bytes:177 // Measured: `456`178 // Estimated: `8682`179 // Minimum execution time: 17_330_000 picoseconds.180 Weight::from_parts(17_910_000, 8682)181 .saturating_add(T::DbWeight::get().reads(5_u64))182 .saturating_add(T::DbWeight::get().writes(4_u64))183 }184 /// Storage: Refungible Balance (r:1 w:1)185 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)186 /// Storage: Refungible TotalSupply (r:1 w:1)187 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)188 /// Storage: Refungible AccountBalance (r:1 w:1)189 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)190 /// Storage: Refungible TokensBurnt (r:1 w:1)191 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)192 /// Storage: Refungible Owned (r:0 w:1)193 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)194 /// Storage: Refungible TokenProperties (r:0 w:1)195 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)196 fn burn_item_fully() -> Weight {197 // Proof Size summary in bytes:198 // Measured: `341`199 // Estimated: `3554`200 // Minimum execution time: 16_920_000 picoseconds.201 Weight::from_parts(17_630_000, 3554)202 .saturating_add(T::DbWeight::get().reads(4_u64))203 .saturating_add(T::DbWeight::get().writes(6_u64))204 }205 /// Storage: Refungible Balance (r:2 w:2)206 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)207 /// Storage: Refungible TotalSupply (r:1 w:0)208 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)209 fn transfer_normal() -> Weight {210 // Proof Size summary in bytes:211 // Measured: `365`212 // Estimated: `6118`213 // Minimum execution time: 10_600_000 picoseconds.214 Weight::from_parts(10_950_000, 6118)215 .saturating_add(T::DbWeight::get().reads(3_u64))216 .saturating_add(T::DbWeight::get().writes(2_u64))217 }218 /// Storage: Refungible Balance (r:2 w:2)219 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)220 /// Storage: Refungible AccountBalance (r:1 w:1)221 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)222 /// Storage: Refungible TotalSupply (r:1 w:0)223 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)224 /// Storage: Refungible Owned (r:0 w:1)225 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)226 fn transfer_creating() -> Weight {227 // Proof Size summary in bytes:228 // Measured: `341`229 // Estimated: `6118`230 // Minimum execution time: 12_160_000 picoseconds.231 Weight::from_parts(12_570_000, 6118)232 .saturating_add(T::DbWeight::get().reads(4_u64))233 .saturating_add(T::DbWeight::get().writes(4_u64))234 }235 /// Storage: Refungible Balance (r:2 w:2)236 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)237 /// Storage: Refungible AccountBalance (r:1 w:1)238 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)239 /// Storage: Refungible TotalSupply (r:1 w:0)240 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)241 /// Storage: Refungible Owned (r:0 w:1)242 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)243 fn transfer_removing() -> Weight {244 // Proof Size summary in bytes:245 // Measured: `456`246 // Estimated: `6118`247 // Minimum execution time: 14_300_000 picoseconds.248 Weight::from_parts(14_760_000, 6118)249 .saturating_add(T::DbWeight::get().reads(4_u64))250 .saturating_add(T::DbWeight::get().writes(4_u64))251 }252 /// Storage: Refungible Balance (r:2 w:2)253 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)254 /// Storage: Refungible AccountBalance (r:2 w:2)255 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)256 /// Storage: Refungible TotalSupply (r:1 w:0)257 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)258 /// Storage: Refungible Owned (r:0 w:2)259 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)260 fn transfer_creating_removing() -> Weight {261 // Proof Size summary in bytes:262 // Measured: `341`263 // Estimated: `6118`264 // Minimum execution time: 14_050_000 picoseconds.265 Weight::from_parts(14_490_000, 6118)266 .saturating_add(T::DbWeight::get().reads(5_u64))267 .saturating_add(T::DbWeight::get().writes(6_u64))268 }269 /// Storage: Refungible Balance (r:1 w:0)270 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)271 /// Storage: Refungible Allowance (r:0 w:1)272 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)273 fn approve() -> Weight {274 // Proof Size summary in bytes:275 // Measured: `223`276 // Estimated: `3554`277 // Minimum execution time: 6_210_000 picoseconds.278 Weight::from_parts(6_500_000, 3554)279 .saturating_add(T::DbWeight::get().reads(1_u64))280 .saturating_add(T::DbWeight::get().writes(1_u64))281 }282 /// Storage: Refungible Balance (r:1 w:0)283 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)284 /// Storage: Refungible Allowance (r:0 w:1)285 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)286 fn approve_from() -> Weight {287 // Proof Size summary in bytes:288 // Measured: `211`289 // Estimated: `3554`290 // Minimum execution time: 6_280_000 picoseconds.291 Weight::from_parts(6_540_000, 3554)292 .saturating_add(T::DbWeight::get().reads(1_u64))293 .saturating_add(T::DbWeight::get().writes(1_u64))294 }295 /// Storage: Refungible Allowance (r:1 w:1)296 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)297 /// Storage: Refungible Balance (r:2 w:2)298 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)299 /// Storage: Refungible TotalSupply (r:1 w:0)300 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)301 fn transfer_from_normal() -> Weight {302 // Proof Size summary in bytes:303 // Measured: `495`304 // Estimated: `6118`305 // Minimum execution time: 15_570_000 picoseconds.306 Weight::from_parts(15_990_000, 6118)307 .saturating_add(T::DbWeight::get().reads(4_u64))308 .saturating_add(T::DbWeight::get().writes(3_u64))309 }310 /// Storage: Refungible Allowance (r:1 w:1)311 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)312 /// Storage: Refungible Balance (r:2 w:2)313 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)314 /// Storage: Refungible AccountBalance (r:1 w:1)315 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)316 /// Storage: Refungible TotalSupply (r:1 w:0)317 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)318 /// Storage: Refungible Owned (r:0 w:1)319 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)320 fn transfer_from_creating() -> Weight {321 // Proof Size summary in bytes:322 // Measured: `471`323 // Estimated: `6118`324 // Minimum execution time: 17_030_000 picoseconds.325 Weight::from_parts(17_430_000, 6118)326 .saturating_add(T::DbWeight::get().reads(5_u64))327 .saturating_add(T::DbWeight::get().writes(5_u64))328 }329 /// Storage: Refungible Allowance (r:1 w:1)330 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)331 /// Storage: Refungible Balance (r:2 w:2)332 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)333 /// Storage: Refungible AccountBalance (r:1 w:1)334 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)335 /// Storage: Refungible TotalSupply (r:1 w:0)336 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)337 /// Storage: Refungible Owned (r:0 w:1)338 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)339 fn transfer_from_removing() -> Weight {340 // Proof Size summary in bytes:341 // Measured: `586`342 // Estimated: `6118`343 // Minimum execution time: 19_300_000 picoseconds.344 Weight::from_parts(19_760_000, 6118)345 .saturating_add(T::DbWeight::get().reads(5_u64))346 .saturating_add(T::DbWeight::get().writes(5_u64))347 }348 /// Storage: Refungible Allowance (r:1 w:1)349 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)350 /// Storage: Refungible Balance (r:2 w:2)351 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)352 /// Storage: Refungible AccountBalance (r:2 w:2)353 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)354 /// Storage: Refungible TotalSupply (r:1 w:0)355 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)356 /// Storage: Refungible Owned (r:0 w:2)357 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)358 fn transfer_from_creating_removing() -> Weight {359 // Proof Size summary in bytes:360 // Measured: `471`361 // Estimated: `6118`362 // Minimum execution time: 19_190_000 picoseconds.363 Weight::from_parts(19_560_000, 6118)364 .saturating_add(T::DbWeight::get().reads(6_u64))365 .saturating_add(T::DbWeight::get().writes(7_u64))366 }367 /// Storage: Refungible Allowance (r:1 w:1)368 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)369 /// Storage: Refungible Balance (r:1 w:1)370 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)371 /// Storage: Refungible TotalSupply (r:1 w:1)372 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)373 /// Storage: Refungible AccountBalance (r:1 w:1)374 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)375 /// Storage: Refungible TokensBurnt (r:1 w:1)376 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)377 /// Storage: Refungible Owned (r:0 w:1)378 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)379 /// Storage: Refungible TokenProperties (r:0 w:1)380 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)381 fn burn_from() -> Weight {382 // Proof Size summary in bytes:383 // Measured: `471`384 // Estimated: `3570`385 // Minimum execution time: 22_590_000 picoseconds.386 Weight::from_parts(23_290_000, 3570)387 .saturating_add(T::DbWeight::get().reads(5_u64))388 .saturating_add(T::DbWeight::get().writes(7_u64))389 }390 /// Storage: Common CollectionPropertyPermissions (r:1 w:1)391 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)392 /// The range of component `b` is `[0, 64]`.393 fn set_token_property_permissions(b: u32, ) -> Weight {394 // Proof Size summary in bytes:395 // Measured: `314`396 // Estimated: `20191`397 // Minimum execution time: 780_000 picoseconds.398 Weight::from_parts(850_000, 20191)399 // Standard Error: 38_209400 .saturating_add(Weight::from_parts(9_042_866, 0).saturating_mul(b.into()))401 .saturating_add(T::DbWeight::get().reads(1_u64))402 .saturating_add(T::DbWeight::get().writes(1_u64))403 }404 /// Storage: Refungible TokenProperties (r:1 w:1)405 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)406 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)407 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)408 /// Storage: Refungible TotalSupply (r:1 w:0)409 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)410 /// The range of component `b` is `[0, 64]`.411 fn set_token_properties(b: u32, ) -> Weight {412 // Proof Size summary in bytes:413 // Measured: `502 + b * (261 ±0)`414 // Estimated: `36269`415 // Minimum execution time: 5_160_000 picoseconds.416 Weight::from_parts(15_283_437, 36269)417 // Standard Error: 12_988418 .saturating_add(Weight::from_parts(2_757_274, 0).saturating_mul(b.into()))419 .saturating_add(T::DbWeight::get().reads(3_u64))420 .saturating_add(T::DbWeight::get().writes(1_u64))421 }422 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)423 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)424 /// Storage: Refungible TokenProperties (r:0 w:1)425 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)426 /// The range of component `b` is `[0, 64]`.427 fn reset_token_properties(b: u32, ) -> Weight {428 // Proof Size summary in bytes:429 // Measured: `317 + b * (261 ±0)`430 // Estimated: `20191`431 // Minimum execution time: 3_560_000 picoseconds.432 Weight::from_parts(6_788_279, 20191)433 // Standard Error: 5_443434 .saturating_add(Weight::from_parts(2_641_825, 0).saturating_mul(b.into()))435 .saturating_add(T::DbWeight::get().reads(1_u64))436 .saturating_add(T::DbWeight::get().writes(1_u64))437 }438 /// Storage: Refungible TokenProperties (r:1 w:1)439 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)440 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)441 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)442 /// Storage: Refungible TotalSupply (r:1 w:0)443 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)444 /// The range of component `b` is `[0, 64]`.445 fn delete_token_properties(b: u32, ) -> Weight {446 // Proof Size summary in bytes:447 // Measured: `561 + b * (33291 ±0)`448 // Estimated: `36269`449 // Minimum execution time: 4_650_000 picoseconds.450 Weight::from_parts(4_820_000, 36269)451 // Standard Error: 24_035452 .saturating_add(Weight::from_parts(8_828_039, 0).saturating_mul(b.into()))453 .saturating_add(T::DbWeight::get().reads(3_u64))454 .saturating_add(T::DbWeight::get().writes(1_u64))455 }456 /// Storage: Refungible TotalSupply (r:1 w:1)457 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)458 /// Storage: Refungible Balance (r:1 w:1)459 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)460 fn repartition_item() -> Weight {461 // Proof Size summary in bytes:462 // Measured: `288`463 // Estimated: `3554`464 // Minimum execution time: 7_260_000 picoseconds.465 Weight::from_parts(7_520_000, 3554)466 .saturating_add(T::DbWeight::get().reads(2_u64))467 .saturating_add(T::DbWeight::get().writes(2_u64))468 }469 /// Storage: Refungible Balance (r:2 w:0)470 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)471 fn token_owner() -> Weight {472 // Proof Size summary in bytes:473 // Measured: `288`474 // Estimated: `6118`475 // Minimum execution time: 3_200_000 picoseconds.476 Weight::from_parts(3_360_000, 6118)477 .saturating_add(T::DbWeight::get().reads(2_u64))478 }479 /// Storage: Refungible CollectionAllowance (r:0 w:1)480 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)481 fn set_allowance_for_all() -> Weight {482 // Proof Size summary in bytes:483 // Measured: `0`484 // Estimated: `0`485 // Minimum execution time: 2_420_000 picoseconds.486 Weight::from_parts(2_540_000, 0)487 .saturating_add(T::DbWeight::get().writes(1_u64))488 }489 /// Storage: Refungible CollectionAllowance (r:1 w:0)490 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)491 fn allowance_for_all() -> Weight {492 // Proof Size summary in bytes:493 // Measured: `4`494 // Estimated: `3576`495 // Minimum execution time: 1_370_000 picoseconds.496 Weight::from_parts(1_470_000, 3576)497 .saturating_add(T::DbWeight::get().reads(1_u64))498 }499 /// Storage: Refungible TokenProperties (r:1 w:1)500 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)501 fn repair_item() -> Weight {502 // Proof Size summary in bytes:503 // Measured: `120`504 // Estimated: `36269`505 // Minimum execution time: 1_350_000 picoseconds.506 Weight::from_parts(1_420_000, 36269)507 .saturating_add(T::DbWeight::get().reads(1_u64))508 .saturating_add(T::DbWeight::get().writes(1_u64))509 }510}511512// For backwards compatibility and tests513impl WeightInfo for () {514 /// Storage: Refungible TokensMinted (r:1 w:1)515 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)516 /// Storage: Refungible AccountBalance (r:1 w:1)517 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)518 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)519 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)520 /// Storage: Refungible Balance (r:0 w:1)521 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)522 /// Storage: Refungible TotalSupply (r:0 w:1)523 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)524 /// Storage: Refungible Owned (r:0 w:1)525 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)526 fn create_item() -> Weight {527 // Proof Size summary in bytes:528 // Measured: `318`529 // Estimated: `20191`530 // Minimum execution time: 11_620_000 picoseconds.531 Weight::from_parts(12_110_000, 20191)532 .saturating_add(RocksDbWeight::get().reads(3_u64))533 .saturating_add(RocksDbWeight::get().writes(5_u64))534 }535 /// Storage: Refungible TokensMinted (r:1 w:1)536 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)537 /// Storage: Refungible AccountBalance (r:1 w:1)538 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)539 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)540 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)541 /// Storage: Refungible Balance (r:0 w:200)542 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)543 /// Storage: Refungible TotalSupply (r:0 w:200)544 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)545 /// Storage: Refungible Owned (r:0 w:200)546 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)547 /// The range of component `b` is `[0, 200]`.548 fn create_multiple_items(b: u32, ) -> Weight {549 // Proof Size summary in bytes:550 // Measured: `318`551 // Estimated: `20191`552 // Minimum execution time: 1_690_000 picoseconds.553 Weight::from_parts(1_750_000, 20191)554 // Standard Error: 1_647555 .saturating_add(Weight::from_parts(4_876_194, 0).saturating_mul(b.into()))556 .saturating_add(RocksDbWeight::get().reads(3_u64))557 .saturating_add(RocksDbWeight::get().writes(2_u64))558 .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(b.into())))559 }560 /// Storage: Refungible TokensMinted (r:1 w:1)561 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)562 /// Storage: Refungible AccountBalance (r:200 w:200)563 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)564 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)565 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)566 /// Storage: Refungible Balance (r:0 w:200)567 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)568 /// Storage: Refungible TotalSupply (r:0 w:200)569 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)570 /// Storage: Refungible Owned (r:0 w:200)571 /// Proof: Refungible Owned (max_values: None, max_size: Some(74), added: 2549, mode: MaxEncodedLen)572 /// The range of component `b` is `[0, 200]`.573 fn create_multiple_items_ex_multiple_items(b: u32, ) -> Weight {574 // Proof Size summary in bytes:575 // Measured: `318`576 // Estimated: `20191 + b * (2540 ±0)`577 // Minimum execution time: 1_730_000 picoseconds.578 Weight::from_parts(1_790_000, 20191)579 // Standard Error: 1_611580 .saturating_add(Weight::from_parts(6_002_948, 0).saturating_mul(b.into()))581 .saturating_add(RocksDbWeight::get().reads(2_u64))582 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))583 .saturating_add(RocksDbWeight::get().writes(1_u64))584 .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(b.into())))585 .saturating_add(Weight::from_parts(0, 2540).saturating_mul(b.into()))586 }587 /// Storage: Refungible TokensMinted (r:1 w:1)588 /// Proof: Refungible TokensMinted (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)589 /// Storage: Refungible AccountBalance (r:200 w:200)590 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)591 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)592 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)593 /// Storage: Refungible Balance (r:0 w:200)594 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)595 /// Storage: Refungible TotalSupply (r:0 w:1)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]`.600 fn create_multiple_items_ex_multiple_owners(b: u32, ) -> Weight {601 // Proof Size summary in bytes:602 // Measured: `318`603 // Estimated: `20191 + b * (2540 ±0)`604 // Minimum execution time: 6_260_000 picoseconds.605 Weight::from_parts(2_297_892, 20191)606 // Standard Error: 1_302607 .saturating_add(Weight::from_parts(4_093_180, 0).saturating_mul(b.into()))608 .saturating_add(RocksDbWeight::get().reads(2_u64))609 .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(b.into())))610 .saturating_add(RocksDbWeight::get().writes(2_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()))613 }614 /// Storage: Refungible Balance (r:3 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)617 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)618 /// Storage: Refungible AccountBalance (r:1 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)622 fn burn_item_partial() -> Weight {623 // Proof Size summary in bytes:624 // Measured: `456`625 // Estimated: `8682`626 // Minimum execution time: 17_330_000 picoseconds.627 Weight::from_parts(17_910_000, 8682)628 .saturating_add(RocksDbWeight::get().reads(5_u64))629 .saturating_add(RocksDbWeight::get().writes(4_u64))630 }631 /// Storage: Refungible Balance (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)634 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)635 /// Storage: Refungible AccountBalance (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)638 /// Proof: Refungible TokensBurnt (max_values: None, max_size: Some(16), added: 2491, mode: MaxEncodedLen)639 /// Storage: Refungible Owned (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)643 fn burn_item_fully() -> Weight {644 // Proof Size summary in bytes:645 // Measured: `341`646 // Estimated: `3554`647 // Minimum execution time: 16_920_000 picoseconds.648 Weight::from_parts(17_630_000, 3554)649 .saturating_add(RocksDbWeight::get().reads(4_u64))650 .saturating_add(RocksDbWeight::get().writes(6_u64))651 }652 /// Storage: Refungible Balance (r:2 w:2)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)656 fn transfer_normal() -> Weight {657 // Proof Size summary in bytes:658 // Measured: `365`659 // Estimated: `6118`660 // Minimum execution time: 10_600_000 picoseconds.661 Weight::from_parts(10_950_000, 6118)662 .saturating_add(RocksDbWeight::get().reads(3_u64))663 .saturating_add(RocksDbWeight::get().writes(2_u64))664 }665 /// Storage: Refungible Balance (r:2 w:2)666 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)667 /// Storage: Refungible AccountBalance (r:1 w:1)668 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)669 /// Storage: Refungible TotalSupply (r:1 w:0)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)673 fn transfer_creating() -> Weight {674 // Proof Size summary in bytes:675 // Measured: `341`676 // Estimated: `6118`677 // Minimum execution time: 12_160_000 picoseconds.678 Weight::from_parts(12_570_000, 6118)679 .saturating_add(RocksDbWeight::get().reads(4_u64))680 .saturating_add(RocksDbWeight::get().writes(4_u64))681 }682 /// Storage: Refungible Balance (r:2 w:2)683 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)684 /// Storage: Refungible AccountBalance (r:1 w:1)685 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)686 /// Storage: Refungible TotalSupply (r:1 w:0)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)690 fn transfer_removing() -> Weight {691 // Proof Size summary in bytes:692 // Measured: `456`693 // Estimated: `6118`694 // Minimum execution time: 14_300_000 picoseconds.695 Weight::from_parts(14_760_000, 6118)696 .saturating_add(RocksDbWeight::get().reads(4_u64))697 .saturating_add(RocksDbWeight::get().writes(4_u64))698 }699 /// Storage: Refungible Balance (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)702 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)703 /// Storage: Refungible TotalSupply (r:1 w:0)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)707 fn transfer_creating_removing() -> Weight {708 // Proof Size summary in bytes:709 // Measured: `341`710 // Estimated: `6118`711 // Minimum execution time: 14_050_000 picoseconds.712 Weight::from_parts(14_490_000, 6118)713 .saturating_add(RocksDbWeight::get().reads(5_u64))714 .saturating_add(RocksDbWeight::get().writes(6_u64))715 }716 /// Storage: Refungible Balance (r:1 w:0)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)720 fn approve() -> Weight {721 // Proof Size summary in bytes:722 // Measured: `223`723 // Estimated: `3554`724 // Minimum execution time: 6_210_000 picoseconds.725 Weight::from_parts(6_500_000, 3554)726 .saturating_add(RocksDbWeight::get().reads(1_u64))727 .saturating_add(RocksDbWeight::get().writes(1_u64))728 }729 /// Storage: Refungible Balance (r:1 w:0)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)733 fn approve_from() -> Weight {734 // Proof Size summary in bytes:735 // Measured: `211`736 // Estimated: `3554`737 // Minimum execution time: 6_280_000 picoseconds.738 Weight::from_parts(6_540_000, 3554)739 .saturating_add(RocksDbWeight::get().reads(1_u64))740 .saturating_add(RocksDbWeight::get().writes(1_u64))741 }742 /// Storage: Refungible Allowance (r:1 w:1)743 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)744 /// Storage: Refungible Balance (r:2 w:2)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)748 fn transfer_from_normal() -> Weight {749 // Proof Size summary in bytes:750 // Measured: `495`751 // Estimated: `6118`752 // Minimum execution time: 15_570_000 picoseconds.753 Weight::from_parts(15_990_000, 6118)754 .saturating_add(RocksDbWeight::get().reads(4_u64))755 .saturating_add(RocksDbWeight::get().writes(3_u64))756 }757 /// Storage: Refungible Allowance (r:1 w:1)758 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)759 /// Storage: Refungible Balance (r:2 w:2)760 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)761 /// Storage: Refungible AccountBalance (r:1 w:1)762 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)763 /// Storage: Refungible TotalSupply (r:1 w:0)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)767 fn transfer_from_creating() -> Weight {768 // Proof Size summary in bytes:769 // Measured: `471`770 // Estimated: `6118`771 // Minimum execution time: 17_030_000 picoseconds.772 Weight::from_parts(17_430_000, 6118)773 .saturating_add(RocksDbWeight::get().reads(5_u64))774 .saturating_add(RocksDbWeight::get().writes(5_u64))775 }776 /// Storage: Refungible Allowance (r:1 w:1)777 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)778 /// Storage: Refungible Balance (r:2 w:2)779 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)780 /// Storage: Refungible AccountBalance (r:1 w:1)781 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)782 /// Storage: Refungible TotalSupply (r:1 w:0)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)786 fn transfer_from_removing() -> Weight {787 // Proof Size summary in bytes:788 // Measured: `586`789 // Estimated: `6118`790 // Minimum execution time: 19_300_000 picoseconds.791 Weight::from_parts(19_760_000, 6118)792 .saturating_add(RocksDbWeight::get().reads(5_u64))793 .saturating_add(RocksDbWeight::get().writes(5_u64))794 }795 /// Storage: Refungible Allowance (r:1 w:1)796 /// Proof: Refungible Allowance (max_values: None, max_size: Some(105), added: 2580, mode: MaxEncodedLen)797 /// Storage: Refungible Balance (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)800 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)801 /// Storage: Refungible TotalSupply (r:1 w:0)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)805 fn transfer_from_creating_removing() -> Weight {806 // Proof Size summary in bytes:807 // Measured: `471`808 // Estimated: `6118`809 // Minimum execution time: 19_190_000 picoseconds.810 Weight::from_parts(19_560_000, 6118)811 .saturating_add(RocksDbWeight::get().reads(6_u64))812 .saturating_add(RocksDbWeight::get().writes(7_u64))813 }814 /// Storage: Refungible Allowance (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)817 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)818 /// Storage: Refungible TotalSupply (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)821 /// Proof: Refungible AccountBalance (max_values: None, max_size: Some(65), added: 2540, mode: MaxEncodedLen)822 /// Storage: Refungible TokensBurnt (r:1 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)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)828 fn burn_from() -> Weight {829 // Proof Size summary in bytes:830 // Measured: `471`831 // Estimated: `3570`832 // Minimum execution time: 22_590_000 picoseconds.833 Weight::from_parts(23_290_000, 3570)834 .saturating_add(RocksDbWeight::get().reads(5_u64))835 .saturating_add(RocksDbWeight::get().writes(7_u64))836 }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]`.840 fn set_token_property_permissions(b: u32, ) -> Weight {841 // Proof Size summary in bytes:842 // Measured: `314`843 // Estimated: `20191`844 // Minimum execution time: 780_000 picoseconds.845 Weight::from_parts(850_000, 20191)846 // Standard Error: 38_209847 .saturating_add(Weight::from_parts(9_042_866, 0).saturating_mul(b.into()))848 .saturating_add(RocksDbWeight::get().reads(1_u64))849 .saturating_add(RocksDbWeight::get().writes(1_u64))850 }851 /// Storage: Refungible TokenProperties (r:1 w:1)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 /// Storage: Refungible TotalSupply (r:1 w:0)856 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)857 /// The range of component `b` is `[0, 64]`.858 fn set_token_properties(b: u32, ) -> Weight {859 // Proof Size summary in bytes:860 // Measured: `502 + b * (261 ±0)`861 // Estimated: `36269`862 // Minimum execution time: 5_160_000 picoseconds.863 Weight::from_parts(15_283_437, 36269)864 // Standard Error: 12_988865 .saturating_add(Weight::from_parts(2_757_274, 0).saturating_mul(b.into()))866 .saturating_add(RocksDbWeight::get().reads(3_u64))867 .saturating_add(RocksDbWeight::get().writes(1_u64))868 }869 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)870 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)871 /// Storage: Refungible TokenProperties (r:0 w:1)872 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)873 /// The range of component `b` is `[0, 64]`.874 fn reset_token_properties(b: u32, ) -> Weight {875 // Proof Size summary in bytes:876 // Measured: `317 + b * (261 ±0)`877 // Estimated: `20191`878 // Minimum execution time: 3_560_000 picoseconds.879 Weight::from_parts(6_788_279, 20191)880 // Standard Error: 5_443881 .saturating_add(Weight::from_parts(2_641_825, 0).saturating_mul(b.into()))882 .saturating_add(RocksDbWeight::get().reads(1_u64))883 .saturating_add(RocksDbWeight::get().writes(1_u64))884 }885 /// Storage: Refungible TokenProperties (r:1 w:1)886 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)887 /// Storage: Common CollectionPropertyPermissions (r:1 w:0)888 /// Proof: Common CollectionPropertyPermissions (max_values: None, max_size: Some(16726), added: 19201, mode: MaxEncodedLen)889 /// Storage: Refungible TotalSupply (r:1 w:0)890 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)891 /// The range of component `b` is `[0, 64]`.892 fn delete_token_properties(b: u32, ) -> Weight {893 // Proof Size summary in bytes:894 // Measured: `561 + b * (33291 ±0)`895 // Estimated: `36269`896 // Minimum execution time: 4_650_000 picoseconds.897 Weight::from_parts(4_820_000, 36269)898 // Standard Error: 24_035899 .saturating_add(Weight::from_parts(8_828_039, 0).saturating_mul(b.into()))900 .saturating_add(RocksDbWeight::get().reads(3_u64))901 .saturating_add(RocksDbWeight::get().writes(1_u64))902 }903 /// Storage: Refungible TotalSupply (r:1 w:1)904 /// Proof: Refungible TotalSupply (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen)905 /// Storage: Refungible Balance (r:1 w:1)906 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)907 fn repartition_item() -> Weight {908 // Proof Size summary in bytes:909 // Measured: `288`910 // Estimated: `3554`911 // Minimum execution time: 7_260_000 picoseconds.912 Weight::from_parts(7_520_000, 3554)913 .saturating_add(RocksDbWeight::get().reads(2_u64))914 .saturating_add(RocksDbWeight::get().writes(2_u64))915 }916 /// Storage: Refungible Balance (r:2 w:0)917 /// Proof: Refungible Balance (max_values: None, max_size: Some(89), added: 2564, mode: MaxEncodedLen)918 fn token_owner() -> Weight {919 // Proof Size summary in bytes:920 // Measured: `288`921 // Estimated: `6118`922 // Minimum execution time: 3_200_000 picoseconds.923 Weight::from_parts(3_360_000, 6118)924 .saturating_add(RocksDbWeight::get().reads(2_u64))925 }926 /// Storage: Refungible CollectionAllowance (r:0 w:1)927 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)928 fn set_allowance_for_all() -> Weight {929 // Proof Size summary in bytes:930 // Measured: `0`931 // Estimated: `0`932 // Minimum execution time: 2_420_000 picoseconds.933 Weight::from_parts(2_540_000, 0)934 .saturating_add(RocksDbWeight::get().writes(1_u64))935 }936 /// Storage: Refungible CollectionAllowance (r:1 w:0)937 /// Proof: Refungible CollectionAllowance (max_values: None, max_size: Some(111), added: 2586, mode: MaxEncodedLen)938 fn allowance_for_all() -> Weight {939 // Proof Size summary in bytes:940 // Measured: `4`941 // Estimated: `3576`942 // Minimum execution time: 1_370_000 picoseconds.943 Weight::from_parts(1_470_000, 3576)944 .saturating_add(RocksDbWeight::get().reads(1_u64))945 }946 /// Storage: Refungible TokenProperties (r:1 w:1)947 /// Proof: Refungible TokenProperties (max_values: None, max_size: Some(32804), added: 35279, mode: MaxEncodedLen)948 fn repair_item() -> Weight {949 // Proof Size summary in bytes:950 // Measured: `120`951 // Estimated: `36269`952 // Minimum execution time: 1_350_000 picoseconds.953 Weight::from_parts(1_420_000, 36269)954 .saturating_add(RocksDbWeight::get().reads(1_u64))955 .saturating_add(RocksDbWeight::get().writes(1_u64))956 }957}958