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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
use frame_support::weights::{constants::RocksDbWeight as DbWeight, Weight}; impl crate::WeightInfo for () { fn claim(u: u32) -> Weight { (805531000 as Weight) .saturating_add((0 as Weight).saturating_mul(u as Weight)) .saturating_add(DbWeight::get().reads(27 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(u as Weight))) .saturating_add(DbWeight::get().writes(10 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(u as Weight))) } fn mint_claim(c: u32) -> Weight { (18042000 as Weight) .saturating_add((0 as Weight).saturating_mul(c as Weight)) .saturating_add(DbWeight::get().reads(1 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(c as Weight))) .saturating_add(DbWeight::get().writes(4 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(c as Weight))) } fn claim_attest(u: u32) -> Weight { (459289000 as Weight) .saturating_add((18000 as Weight).saturating_mul(u as Weight)) .saturating_add(DbWeight::get().reads(27 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(u as Weight))) .saturating_add(DbWeight::get().writes(10 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(u as Weight))) } fn attest(u: u32) -> Weight { (290295000 as Weight) .saturating_add((1000 as Weight).saturating_mul(u as Weight)) .saturating_add(DbWeight::get().reads(28 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(u as Weight))) .saturating_add(DbWeight::get().writes(11 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(u as Weight))) } fn validate_unsigned_claim(c: u32) -> Weight { (194116000 as Weight) .saturating_add((0 as Weight).saturating_mul(c as Weight)) .saturating_add(DbWeight::get().reads(2 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(c as Weight))) .saturating_add(DbWeight::get().writes(0 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(c as Weight))) } fn validate_unsigned_claim_attest(c: u32) -> Weight { (195930000 as Weight) .saturating_add((0 as Weight).saturating_mul(c as Weight)) .saturating_add(DbWeight::get().reads(2 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(c as Weight))) .saturating_add(DbWeight::get().writes(0 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(c as Weight))) } fn validate_prevalidate_attests(c: u32) -> Weight { (13604000 as Weight) .saturating_add((0 as Weight).saturating_mul(c as Weight)) .saturating_add(DbWeight::get().reads(2 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(c as Weight))) .saturating_add(DbWeight::get().writes(0 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(c as Weight))) } fn keccak256(i: u32) -> Weight { (57946000 as Weight) .saturating_add((895000 as Weight).saturating_mul(i as Weight)) .saturating_add(DbWeight::get().reads(0 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(i as Weight))) .saturating_add(DbWeight::get().writes(0 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(i as Weight))) } fn eth_recover(i: u32) -> Weight { (0 as Weight) .saturating_add((193474000 as Weight).saturating_mul(i as Weight)) .saturating_add(DbWeight::get().reads(0 as Weight)) .saturating_add(DbWeight::get().reads((0 as Weight).saturating_mul(i as Weight))) .saturating_add(DbWeight::get().writes(0 as Weight)) .saturating_add(DbWeight::get().writes((0 as Weight).saturating_mul(i as Weight))) } }