class Gas
(source)
A unit measure of Gas as used by the Ethereum VM.
fun add(other: Gas): Gas |
|
fun compareTo(other: Long): Int |
|
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |
|
fun priceFor(gasPrice: Wei): Wei
The price of this amount of gas given the provided price per unit of gas. |
|
fun toBytes(): Bytes |
|
fun toLong(): Long |
|
fun toMinimalBytes(): Bytes |
|
fun toString(): String |
|
static fun valueOf(value: UInt256): Gas static fun valueOf(value: Long): Gas static fun valueOf(value: BigInteger): Gas
Return a Gas containing the specified value. |