pub fn gas_left<E>() -> u64 where
    E: Environment
Expand description

Returns the amount of gas left for the contract execution.

Errors

If the returned value cannot be properly decoded.