aergo
aergo copied to clipboard
Add GasLeft() function
Add function for contracts to return the amount of remaining gas on the current transaction execution
local remaining_gas = contract.gasLeft()
Add function for contracts to return the amount of remaining gas on the current transaction execution
local remaining_gas = contract.gasLeft()