class Ether extends Ordered[Ether]
Wei are the smallest unit of currency and are always integers, never fractional quantities
- Source
- Ether.scala
- Alphabetic
- By Inheritance
- Ether
- Ordered
- Comparable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Ether(wei: BigInt)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
*(value: BigDecimal): Ether
- Annotations
- @inline()
-
def
*(value: BigInt): Ether
- Annotations
- @inline()
-
def
*(value: Double): Ether
- Annotations
- @inline()
-
def
*(value: Int): Ether
- Annotations
- @inline()
-
def
*(value: Ether): Ether
- Annotations
- @inline()
-
def
+(value: BigDecimal): Ether
- Annotations
- @inline()
-
def
+(value: BigInt): Ether
- Annotations
- @inline()
-
def
+(value: Double): Ether
- Annotations
- @inline()
-
def
+(value: Int): Ether
- Annotations
- @inline()
-
def
+(value: Ether): Ether
- Annotations
- @inline()
-
def
-(value: BigDecimal): Ether
- Annotations
- @inline()
-
def
-(value: BigInt): Ether
- Annotations
- @inline()
-
def
-(value: Double): Ether
- Annotations
- @inline()
-
def
-(value: Int): Ether
- Annotations
- @inline()
-
def
-(value: Ether): Ether
- Annotations
- @inline()
-
def
/(value: BigDecimal): Ether
- Annotations
- @inline()
-
def
/(value: BigInt): Ether
- Annotations
- @inline()
-
def
/(value: Double): Ether
- Annotations
- @inline()
-
def
/(value: Int): Ether
- Annotations
- @inline()
-
def
/(value: Ether): Ether
- Annotations
- @inline()
-
def
<(that: Ether): Boolean
- Definition Classes
- Ordered
-
def
<=(that: Ether): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: Ether): Boolean
- Definition Classes
- Ordered
-
def
>=(that: Ether): Boolean
- Definition Classes
- Ordered
-
def
asEther: BigDecimal
- Annotations
- @inline()
-
def
asFinney: BigDecimal
- Annotations
- @inline()
-
def
asGEther: BigDecimal
- Annotations
- @inline()
-
def
asGWei: BigDecimal
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asKEther: BigDecimal
- Annotations
- @inline()
-
def
asKWei: BigDecimal
- Annotations
- @inline()
-
def
asMEther: BigDecimal
- Annotations
- @inline()
-
def
asMWei: BigDecimal
- Annotations
- @inline()
-
def
asSzabo: BigDecimal
- Annotations
- @inline()
-
def
asWei: BigInt
- Annotations
- @inline()
-
def
bigDecimal(wei: BigInt): BigDecimal
- returns
Amount of Ether corresponding to the given wei value
- Annotations
- @inline()
-
def
bigInteger: BigInteger
- Annotations
- @inline()
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
compare(that: Ether): Int
- Definition Classes
- Ether → Ordered
- Annotations
- @inline()
-
def
compareTo(that: Ether): Int
- Definition Classes
- Ordered → Comparable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Ether → AnyRef → Any
- Annotations
- @inline()
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Ether → AnyRef → Any
- Annotations
- @inline()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNegative: Boolean
- Annotations
- @inline()
-
def
isPositive: Boolean
Zero is not considered to be a positive value
Zero is not considered to be a positive value
- Annotations
- @inline()
-
def
isZero: Boolean
- Annotations
- @inline()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toHex: String
- Annotations
- @inline()
-
def
toString(): String
- Definition Classes
- Ether → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val wei: BigInt