pub fn bare_call(
		origin: T::AccountId,
		dest: T::AccountId,
		value: BalanceOf<T>,
		gas_limit: Gas,
		input_data: Vec<u8>,
	) -> ContractExecResult {
		let mut gas_meter = GasMeter::new(gas_limit);
		let exec_result = Self::execute_wasm(origin, &mut gas_meter, |ctx, gas_meter| {
			ctx.call(dest, value, gas_meter, input_data)
		});
		let gas_consumed = gas_meter.gas_spent();
		ContractExecResult {
			exec_result,
			gas_consumed,
		}
	}
/// Perform a call to a specified contract.
///
/// This function is similar to `Self::call`, but doesn't perform any address lookups and better
/// suitable for calling directly from Rust.
///
/// It returns the exection result and the amount of used weight.
Perform a call to a specified contract.
This function is similar to `Self::call`, but doesn't perform any address lookups and better
suitable for calling directly from Rust.

It returns the exection result and the amount of used weight.
Perform a call to a specified contract . This function is similar to ` Self :: call ` but doesn ' t perform any address lookups and better suitable for calling directly from Rust . It returns the exection result and the amount of used weight .
pub fn bare_call(
		origin: T::AccountId,
		dest: T::AccountId,
		value: BalanceOf<T>,
		gas_limit: Gas,
		input_data: Vec<u8>,
	) -> ContractExecResult {
		let mut gas_meter = GasMeter::new(gas_limit);
		let exec_result = Self::execute_wasm(origin, &mut gas_meter, |ctx, gas_meter| {
			ctx.call(dest, value, gas_meter, input_data)
		});
		let gas_consumed = gas_meter.gas_spent();
		ContractExecResult {
			exec_result,
			gas_consumed,
		}
	}
pub fn bare_call ( origin : T :: AccountId , dest : T :: AccountId , value : BalanceOf < T > , gas_limit : Gas , input_data : Vec < u8 > , ) -> ContractExecResult { let mut gas_meter = GasMeter :: new ( gas_limit ) ; let exec_result = Self :: execute_wasm ( origin , & mut gas_meter , | ctx , gas_meter | { ctx . call ( dest , value , gas_meter , input_data ) } ) ; let gas_consumed = gas_meter . gas_spent ( ) ; ContractExecResult { exec_result , gas_consumed , } }
Perform a call to a specified contract.
Perform a call to a specified contract .
origin
T::AccountId
dest
T::AccountId
value
BalanceOf<T>
gas_limit
Gas
input_data
Vec<u8>
origin
T::AccountId
dest
T::AccountId
value
BalanceOf<T>
gas_limit
Gas
input_data
Vec<u8>