class Wei : BaseUInt256Value<Wei> (source)
A unit measure of Wei as used by the Ethereum VM.
static fun valueOf(value: UInt256): Weistatic fun valueOf(value: Long): Weistatic fun valueOf(value: BigInteger): Wei
Return a Wei containing the specified value. |
open fun add(value: T): Topen fun add(value: Long): Topen fun add(value: UInt256): T
Returns a value that is |
|
open fun addMod(value: T, modulus: UInt256): Topen fun addMod(value: Long, modulus: UInt256): Topen fun addMod(value: Long, modulus: Long): Topen fun addMod(value: UInt256, modulus: UInt256): T
Returns a value equivalent to |
|
open fun compareTo(other: T): Intopen fun compareTo(other: UInt256): Int
Compare two UInt256 values. |
|
open fun divide(value: T): Topen fun divide(value: Long): Topen fun divide(value: UInt256): T
Returns a value that is |
|
open fun divideCeil(value: T): Topen fun divideCeil(value: Long): Topen fun divideCeil(value: UInt256): T
Returns a value that is |
|
open fun equals(other: Any?): Boolean |
|
open fun hashCode(): Int |
|
open fun mod(modulus: UInt256): Topen fun mod(modulus: Long): T |
|
open fun mod0(modulus: UInt256): Topen fun mod0(modulus: Long): T |
|
open fun multiply(value: T): Topen fun multiply(value: Long): Topen fun multiply(value: UInt256): T
Returns a value that is |
|
open fun multiplyMod(value: T, modulus: UInt256): Topen fun multiplyMod(value: Long, modulus: UInt256): Topen fun multiplyMod(value: Long, modulus: Long): Topen fun multiplyMod(value: UInt256, modulus: UInt256): T
Returns a value that is |
|
open fun pow(exponent: UInt256): Topen fun pow(exponent: Long): T |
|
open fun subtract(value: T): Topen fun subtract(value: Long): Topen fun subtract(value: UInt256): T
Returns a value that is |
|
open fun toBytes(): Bytes32 |
|
open fun toMinimalBytes(): Bytes |
|
open fun toString(): String |
|
open fun toUInt256(): UInt256 |