1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
use frame_support::weights::{constants::RocksDbWeight as DbWeight, Weight}; impl crate::WeightInfo for () { fn vest_locked(l: u32) -> Weight { (17584000 as Weight) .saturating_add((0 as Weight).saturating_mul(l as Weight)) .saturating_add(DbWeight::get().reads(3 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(l as Weight))) .saturating_add(DbWeight::get().writes(0 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(l as Weight))) } fn vest_unlocked(l: u32) -> Weight { (99056000 as Weight) .saturating_add((88000 as Weight).saturating_mul(l as Weight)) .saturating_add(DbWeight::get().reads(12 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(l as Weight))) .saturating_add(DbWeight::get().writes(6 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(l as Weight))) } fn vest_other_locked(l: u32) -> Weight { (17293000 as Weight) .saturating_add((0 as Weight).saturating_mul(l as Weight)) .saturating_add(DbWeight::get().reads(3 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(l as Weight))) .saturating_add(DbWeight::get().writes(0 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(l as Weight))) } fn vest_other_unlocked(l: u32) -> Weight { (102484000 as Weight) .saturating_add((0 as Weight).saturating_mul(l as Weight)) .saturating_add(DbWeight::get().reads(12 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(l as Weight))) .saturating_add(DbWeight::get().writes(6 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(l as Weight))) } fn vested_transfer(l: u32) -> Weight { (238777000 as Weight) .saturating_add((339000 as Weight).saturating_mul(l as Weight)) .saturating_add(DbWeight::get().reads(24 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(l as Weight))) .saturating_add(DbWeight::get().writes(6 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(l as Weight))) } }