@@ -32,6 +32,7 @@ use core::marker::PhantomData;
32
32
/// Weight functions needed for `pallet_api_vnext::fungibles`.
33
33
pub trait WeightInfo {
34
34
fn transfer ( ) -> Weight ;
35
+ fn transfer_from ( ) -> Weight ;
35
36
fn approve ( a : u32 , c : u32 , ) -> Weight ;
36
37
fn create ( ) -> Weight ;
37
38
fn start_destroy ( ) -> Weight ;
@@ -64,10 +65,29 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
64
65
// Measured: `781`
65
66
// Estimated: `6208`
66
67
// Minimum execution time: 47_000_000 picoseconds.
67
- Weight :: from_parts ( 48_000_000 , 6208 )
68
+ Weight :: from_parts ( 49_000_000 , 6208 )
68
69
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 5_u64 ) )
69
70
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 4_u64 ) )
70
71
}
72
+ /// Storage: `Revive::OriginalAccount` (r:2 w:0)
73
+ /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
74
+ /// Storage: `Assets::Asset` (r:1 w:1)
75
+ /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
76
+ /// Storage: `Assets::Approvals` (r:1 w:1)
77
+ /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
78
+ /// Storage: `Assets::Account` (r:2 w:2)
79
+ /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
80
+ /// Storage: `System::Account` (r:1 w:1)
81
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
82
+ fn transfer_from ( ) -> Weight {
83
+ // Proof Size summary in bytes:
84
+ // Measured: `951`
85
+ // Estimated: `6208`
86
+ // Minimum execution time: 68_000_000 picoseconds.
87
+ Weight :: from_parts ( 69_000_000 , 6208 )
88
+ . saturating_add ( T :: DbWeight :: get ( ) . reads ( 7_u64 ) )
89
+ . saturating_add ( T :: DbWeight :: get ( ) . writes ( 5_u64 ) )
90
+ }
71
91
/// Storage: `Revive::OriginalAccount` (r:1 w:0)
72
92
/// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
73
93
/// Storage: `Assets::Approvals` (r:1 w:1)
@@ -81,11 +101,11 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
81
101
// Measured: `699 + c * (140 ±0)`
82
102
// Estimated: `3675`
83
103
// Minimum execution time: 27_000_000 picoseconds.
84
- Weight :: from_parts ( 6_576_530 , 3675 )
85
- // Standard Error: 127_016
86
- . saturating_add ( Weight :: from_parts ( 22_054_081 , 0 ) . saturating_mul ( a. into ( ) ) )
87
- // Standard Error: 127_016
88
- . saturating_add ( Weight :: from_parts ( 36_419_387 , 0 ) . saturating_mul ( c. into ( ) ) )
104
+ Weight :: from_parts ( 7_862_244 , 3675 )
105
+ // Standard Error: 43_634
106
+ . saturating_add ( Weight :: from_parts ( 20_137_755 , 0 ) . saturating_mul ( a. into ( ) ) )
107
+ // Standard Error: 43_634
108
+ . saturating_add ( Weight :: from_parts ( 35_150_000 , 0 ) . saturating_mul ( c. into ( ) ) )
89
109
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 3_u64 ) )
90
110
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2_u64 ) )
91
111
}
@@ -99,8 +119,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
99
119
// Proof Size summary in bytes:
100
120
// Measured: `471`
101
121
// Estimated: `3675`
102
- // Minimum execution time: 33_000_000 picoseconds.
103
- Weight :: from_parts ( 34_000_000 , 3675 )
122
+ // Minimum execution time: 32_000_000 picoseconds.
123
+ Weight :: from_parts ( 33_000_000 , 3675 )
104
124
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 3_u64 ) )
105
125
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 2_u64 ) )
106
126
}
@@ -123,8 +143,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
123
143
// Proof Size summary in bytes:
124
144
// Measured: `505`
125
145
// Estimated: `3675`
126
- // Minimum execution time: 14_000_000 picoseconds.
127
- Weight :: from_parts ( 15_000_000 , 3675 )
146
+ // Minimum execution time: 15_000_000 picoseconds.
147
+ Weight :: from_parts ( 16_000_000 , 3675 )
128
148
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2_u64 ) )
129
149
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
130
150
}
@@ -137,7 +157,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
137
157
// Measured: `645`
138
158
// Estimated: `3675`
139
159
// Minimum execution time: 29_000_000 picoseconds.
140
- Weight :: from_parts ( 30_000_000 , 3675 )
160
+ Weight :: from_parts ( 29_000_000 , 3675 )
141
161
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2_u64 ) )
142
162
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 1_u64 ) )
143
163
}
@@ -153,8 +173,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
153
173
// Proof Size summary in bytes:
154
174
// Measured: `584`
155
175
// Estimated: `3675`
156
- // Minimum execution time: 28_000_000 picoseconds.
157
- Weight :: from_parts ( 30_000_000 , 3675 )
176
+ // Minimum execution time: 27_000_000 picoseconds.
177
+ Weight :: from_parts ( 28_000_000 , 3675 )
158
178
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 4_u64 ) )
159
179
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 3_u64 ) )
160
180
}
@@ -170,8 +190,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
170
190
// Proof Size summary in bytes:
171
191
// Measured: `744`
172
192
// Estimated: `3675`
173
- // Minimum execution time: 38_000_000 picoseconds.
174
- Weight :: from_parts ( 39_000_000 , 3675 )
193
+ // Minimum execution time: 40_000_000 picoseconds.
194
+ Weight :: from_parts ( 41_000_000 , 3675 )
175
195
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 4_u64 ) )
176
196
. saturating_add ( T :: DbWeight :: get ( ) . writes ( 3_u64 ) )
177
197
}
@@ -182,7 +202,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
182
202
// Measured: `300`
183
203
// Estimated: `3675`
184
204
// Minimum execution time: 5_000_000 picoseconds.
185
- Weight :: from_parts ( 6_000_000 , 3675 )
205
+ Weight :: from_parts ( 5_000_000 , 3675 )
186
206
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 1_u64 ) )
187
207
}
188
208
/// Storage: `Revive::OriginalAccount` (r:1 w:0)
@@ -193,7 +213,7 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
193
213
// Proof Size summary in bytes:
194
214
// Measured: `346`
195
215
// Estimated: `3599`
196
- // Minimum execution time: 8_000_000 picoseconds.
216
+ // Minimum execution time: 7_000_000 picoseconds.
197
217
Weight :: from_parts ( 8_000_000 , 3599 )
198
218
. saturating_add ( T :: DbWeight :: get ( ) . reads ( 2_u64 ) )
199
219
}
@@ -266,10 +286,29 @@ impl WeightInfo for () {
266
286
// Measured: `781`
267
287
// Estimated: `6208`
268
288
// Minimum execution time: 47_000_000 picoseconds.
269
- Weight :: from_parts ( 48_000_000 , 6208 )
289
+ Weight :: from_parts ( 49_000_000 , 6208 )
270
290
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 5_u64 ) )
271
291
. saturating_add ( RocksDbWeight :: get ( ) . writes ( 4_u64 ) )
272
292
}
293
+ /// Storage: `Revive::OriginalAccount` (r:2 w:0)
294
+ /// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
295
+ /// Storage: `Assets::Asset` (r:1 w:1)
296
+ /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
297
+ /// Storage: `Assets::Approvals` (r:1 w:1)
298
+ /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`)
299
+ /// Storage: `Assets::Account` (r:2 w:2)
300
+ /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
301
+ /// Storage: `System::Account` (r:1 w:1)
302
+ /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
303
+ fn transfer_from ( ) -> Weight {
304
+ // Proof Size summary in bytes:
305
+ // Measured: `951`
306
+ // Estimated: `6208`
307
+ // Minimum execution time: 68_000_000 picoseconds.
308
+ Weight :: from_parts ( 69_000_000 , 6208 )
309
+ . saturating_add ( RocksDbWeight :: get ( ) . reads ( 7_u64 ) )
310
+ . saturating_add ( RocksDbWeight :: get ( ) . writes ( 5_u64 ) )
311
+ }
273
312
/// Storage: `Revive::OriginalAccount` (r:1 w:0)
274
313
/// Proof: `Revive::OriginalAccount` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`)
275
314
/// Storage: `Assets::Approvals` (r:1 w:1)
@@ -283,11 +322,11 @@ impl WeightInfo for () {
283
322
// Measured: `699 + c * (140 ±0)`
284
323
// Estimated: `3675`
285
324
// Minimum execution time: 27_000_000 picoseconds.
286
- Weight :: from_parts ( 6_576_530 , 3675 )
287
- // Standard Error: 127_016
288
- . saturating_add ( Weight :: from_parts ( 22_054_081 , 0 ) . saturating_mul ( a. into ( ) ) )
289
- // Standard Error: 127_016
290
- . saturating_add ( Weight :: from_parts ( 36_419_387 , 0 ) . saturating_mul ( c. into ( ) ) )
325
+ Weight :: from_parts ( 7_862_244 , 3675 )
326
+ // Standard Error: 43_634
327
+ . saturating_add ( Weight :: from_parts ( 20_137_755 , 0 ) . saturating_mul ( a. into ( ) ) )
328
+ // Standard Error: 43_634
329
+ . saturating_add ( Weight :: from_parts ( 35_150_000 , 0 ) . saturating_mul ( c. into ( ) ) )
291
330
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 3_u64 ) )
292
331
. saturating_add ( RocksDbWeight :: get ( ) . writes ( 2_u64 ) )
293
332
}
@@ -301,8 +340,8 @@ impl WeightInfo for () {
301
340
// Proof Size summary in bytes:
302
341
// Measured: `471`
303
342
// Estimated: `3675`
304
- // Minimum execution time: 33_000_000 picoseconds.
305
- Weight :: from_parts ( 34_000_000 , 3675 )
343
+ // Minimum execution time: 32_000_000 picoseconds.
344
+ Weight :: from_parts ( 33_000_000 , 3675 )
306
345
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 3_u64 ) )
307
346
. saturating_add ( RocksDbWeight :: get ( ) . writes ( 2_u64 ) )
308
347
}
@@ -325,8 +364,8 @@ impl WeightInfo for () {
325
364
// Proof Size summary in bytes:
326
365
// Measured: `505`
327
366
// Estimated: `3675`
328
- // Minimum execution time: 14_000_000 picoseconds.
329
- Weight :: from_parts ( 15_000_000 , 3675 )
367
+ // Minimum execution time: 15_000_000 picoseconds.
368
+ Weight :: from_parts ( 16_000_000 , 3675 )
330
369
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 2_u64 ) )
331
370
. saturating_add ( RocksDbWeight :: get ( ) . writes ( 1_u64 ) )
332
371
}
@@ -339,7 +378,7 @@ impl WeightInfo for () {
339
378
// Measured: `645`
340
379
// Estimated: `3675`
341
380
// Minimum execution time: 29_000_000 picoseconds.
342
- Weight :: from_parts ( 30_000_000 , 3675 )
381
+ Weight :: from_parts ( 29_000_000 , 3675 )
343
382
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 2_u64 ) )
344
383
. saturating_add ( RocksDbWeight :: get ( ) . writes ( 1_u64 ) )
345
384
}
@@ -355,8 +394,8 @@ impl WeightInfo for () {
355
394
// Proof Size summary in bytes:
356
395
// Measured: `584`
357
396
// Estimated: `3675`
358
- // Minimum execution time: 28_000_000 picoseconds.
359
- Weight :: from_parts ( 30_000_000 , 3675 )
397
+ // Minimum execution time: 27_000_000 picoseconds.
398
+ Weight :: from_parts ( 28_000_000 , 3675 )
360
399
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 4_u64 ) )
361
400
. saturating_add ( RocksDbWeight :: get ( ) . writes ( 3_u64 ) )
362
401
}
@@ -372,8 +411,8 @@ impl WeightInfo for () {
372
411
// Proof Size summary in bytes:
373
412
// Measured: `744`
374
413
// Estimated: `3675`
375
- // Minimum execution time: 38_000_000 picoseconds.
376
- Weight :: from_parts ( 39_000_000 , 3675 )
414
+ // Minimum execution time: 40_000_000 picoseconds.
415
+ Weight :: from_parts ( 41_000_000 , 3675 )
377
416
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 4_u64 ) )
378
417
. saturating_add ( RocksDbWeight :: get ( ) . writes ( 3_u64 ) )
379
418
}
@@ -384,7 +423,7 @@ impl WeightInfo for () {
384
423
// Measured: `300`
385
424
// Estimated: `3675`
386
425
// Minimum execution time: 5_000_000 picoseconds.
387
- Weight :: from_parts ( 6_000_000 , 3675 )
426
+ Weight :: from_parts ( 5_000_000 , 3675 )
388
427
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 1_u64 ) )
389
428
}
390
429
/// Storage: `Revive::OriginalAccount` (r:1 w:0)
@@ -395,7 +434,7 @@ impl WeightInfo for () {
395
434
// Proof Size summary in bytes:
396
435
// Measured: `346`
397
436
// Estimated: `3599`
398
- // Minimum execution time: 8_000_000 picoseconds.
437
+ // Minimum execution time: 7_000_000 picoseconds.
399
438
Weight :: from_parts ( 8_000_000 , 3599 )
400
439
. saturating_add ( RocksDbWeight :: get ( ) . reads ( 2_u64 ) )
401
440
}
0 commit comments