class Wei : BaseUInt256Value<Wei>
(source)
A unit measure of Wei as used by the Ethereum VM.
static fun valueOf(value: UInt256): Wei static fun valueOf(value: Long): Wei static fun valueOf(value: BigInteger): Wei
Return a Wei containing the specified value. |
open fun add(value: T): T open fun add(value: Long): T open fun add(value: UInt256): T
Returns a value that is |
|
open fun addMod(value: T, modulus: UInt256): T open fun addMod(value: Long, modulus: UInt256): T open fun addMod(value: Long, modulus: Long): T open fun addMod(value: UInt256, modulus: UInt256): T
Returns a value equivalent to |
|
open fun compareTo(other: T): Int open fun compareTo(other: UInt256): Int
Compare two UInt256 values. |
|
open fun divide(value: T): T open fun divide(value: Long): T open fun divide(value: UInt256): T
Returns a value that is |
|
open fun equals(other: Any?): Boolean |
|
open fun hashCode(): Int |
|
open fun mod(modulus: UInt256): T open fun mod(modulus: Long): T |
|
open fun multiply(value: T): T open fun multiply(value: Long): T open fun multiply(value: UInt256): T
Returns a value that is |
|
open fun multiplyMod(value: T, modulus: UInt256): T open fun multiplyMod(value: Long, modulus: UInt256): T open fun multiplyMod(value: Long, modulus: Long): T open fun multiplyMod(value: UInt256, modulus: UInt256): T
Returns a value that is |
|
open fun pow(exponent: UInt256): T open fun pow(exponent: Long): T |
|
open fun subtract(value: T): T open fun subtract(value: Long): T open 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 |