git.delta.rocks / unique-network / refs/commits / bfbca7684ca5

difftreelog

source

pallets/fungible/src/weights.rs820 Bsourcehistory
1#![cfg_attr(rustfmt, rustfmt_skip)]2#![allow(unused_parens)]3#![allow(unused_imports)]45use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};6use sp_std::marker::PhantomData;78pub trait WeightInfo {9	fn create_item() -> Weight;10	fn burn_item() -> Weight;11	fn transfer() -> Weight;12	fn approve() -> Weight;13	fn transfer_from() -> Weight;14}1516pub struct SubstrateWeight<T>(PhantomData<T>);17impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {18    fn create_item() -> Weight {0}19	fn burn_item() -> Weight {0}20	fn transfer() -> Weight {0}21	fn approve() -> Weight {0}22	fn transfer_from() -> Weight {0}23}2425impl WeightInfo for () {26    fn create_item() -> Weight {0}27	fn burn_item() -> Weight {0}28	fn transfer() -> Weight {0}29	fn approve() -> Weight {0}30	fn transfer_from() -> Weight {0}31}