gas_left

Function gas_left 

Source
pub fn gas_left<E>() -> Gas
where E: Environment,
Expand description

Returns the amount of gas left for the contract execution.

ยงErrors

If the returned value cannot be properly decoded.