orml_gradually_update/
default_weight.rs1#![allow(unused_parens)]
4#![allow(unused_imports)]
5#![allow(clippy::unnecessary_cast)]
6
7use frame_support::weights::{constants::RocksDbWeight as DbWeight, Weight};
8
9impl crate::WeightInfo for () {
10 fn gradually_update() -> Weight {
11 Weight::from_parts(57_922_000, 0)
12 .saturating_add(DbWeight::get().reads(2 as u64))
13 .saturating_add(DbWeight::get().writes(1 as u64))
14 }
15 fn cancel_gradually_update() -> Weight {
16 Weight::from_parts(66_687_000, 0)
17 .saturating_add(DbWeight::get().reads(1 as u64))
18 .saturating_add(DbWeight::get().writes(1 as u64))
19 }
20 fn on_finalize(u: u32) -> Weight {
21 Weight::from_parts(37_067_000, 0)
22 .saturating_add(Weight::from_parts(20_890_000, 0).saturating_mul(u as u64))
23 .saturating_add(DbWeight::get().reads(3 as u64))
24 .saturating_add(DbWeight::get().writes(3 as u64))
25 }
26}