tuweni / org.apache.tuweni.evm.impl / GasManager

GasManager

class GasManager (source)

Constructors

<init>

GasManager(gas: Gas)

Properties

gas

val gas: Gas

gasCost

var gasCost: Gas!

lastGasCost

var lastGasCost: Gas!

Functions

add

fun add(g: Long): Unit
fun add(gas: Gas): Unit

gasLeft

fun gasLeft(): Gas

hasGasLeft

fun hasGasLeft(): Boolean

lastGasCost

fun lastGasCost(): Gas