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
// Copyright 2021 ChainSafe Systems
// SPDX-License-Identifier: LGPL-3.0-only

//! Autogenerated weights for pallet_remote_asset_manager
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-06-03, STEPS: `[]`, REPEAT: 1, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 128

// Executed Command:
// ./target/release/pint
// benchmark
// --execution
// wasm
// --wasm-execution
// compiled
// -p
// pallet_remote_asset_manager
// -e
// *
// --raw
// --output
// runtime/src/weights/pallet_remote_asset_manager.rs

#![allow(unused_parens)]
#![allow(unused_imports)]

use frame_support::{traits::Get, weights::Weight};
use sp_std::marker::PhantomData;

/// Weight functions for pallet_remote_asset_manager.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_remote_asset_manager::WeightInfo for WeightInfo<T> {
	fn transfer() -> Weight {
		(2_000_000 as Weight)
	}

	fn freeze() -> Weight {
		(2_000_000 as Weight)
	}

	fn thaw() -> Weight {
		(2_000_000 as Weight)
	}

	fn set_xcm_dest_weight() -> Weight {
		(10_000_000 as Weight).saturating_add(T::DbWeight::get().writes(1 as Weight))
	}
}