Packages

class Ether extends Ordered[Ether]

Wei are the smallest unit of currency and are always integers, never fractional quantities

Source
Ether.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ether
  2. Ordered
  3. Comparable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Ether(wei: BigInt)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *(value: BigDecimal): Ether
    Annotations
    @inline()
  4. def *(value: BigInt): Ether
    Annotations
    @inline()
  5. def *(value: Double): Ether
    Annotations
    @inline()
  6. def *(value: Int): Ether
    Annotations
    @inline()
  7. def *(value: Ether): Ether
    Annotations
    @inline()
  8. def +(value: BigDecimal): Ether
    Annotations
    @inline()
  9. def +(value: BigInt): Ether
    Annotations
    @inline()
  10. def +(value: Double): Ether
    Annotations
    @inline()
  11. def +(value: Int): Ether
    Annotations
    @inline()
  12. def +(value: Ether): Ether
    Annotations
    @inline()
  13. def -(value: BigDecimal): Ether
    Annotations
    @inline()
  14. def -(value: BigInt): Ether
    Annotations
    @inline()
  15. def -(value: Double): Ether
    Annotations
    @inline()
  16. def -(value: Int): Ether
    Annotations
    @inline()
  17. def -(value: Ether): Ether
    Annotations
    @inline()
  18. def /(value: BigDecimal): Ether
    Annotations
    @inline()
  19. def /(value: BigInt): Ether
    Annotations
    @inline()
  20. def /(value: Double): Ether
    Annotations
    @inline()
  21. def /(value: Int): Ether
    Annotations
    @inline()
  22. def /(value: Ether): Ether
    Annotations
    @inline()
  23. def <(that: Ether): Boolean
    Definition Classes
    Ordered
  24. def <=(that: Ether): Boolean
    Definition Classes
    Ordered
  25. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  26. def >(that: Ether): Boolean
    Definition Classes
    Ordered
  27. def >=(that: Ether): Boolean
    Definition Classes
    Ordered
  28. def asEther: BigDecimal
    Annotations
    @inline()
  29. def asFinney: BigDecimal
    Annotations
    @inline()
  30. def asGEther: BigDecimal
    Annotations
    @inline()
  31. def asGWei: BigDecimal
    Annotations
    @inline()
  32. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  33. def asKEther: BigDecimal
    Annotations
    @inline()
  34. def asKWei: BigDecimal
    Annotations
    @inline()
  35. def asMEther: BigDecimal
    Annotations
    @inline()
  36. def asMWei: BigDecimal
    Annotations
    @inline()
  37. def asSzabo: BigDecimal
    Annotations
    @inline()
  38. def asWei: BigInt
    Annotations
    @inline()
  39. def bigDecimal(wei: BigInt): BigDecimal

    returns

    Amount of Ether corresponding to the given wei value

    Annotations
    @inline()
  40. def bigInteger: BigInteger
    Annotations
    @inline()
  41. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  42. def compare(that: Ether): Int
    Definition Classes
    Ether → Ordered
    Annotations
    @inline()
  43. def compareTo(that: Ether): Int
    Definition Classes
    Ordered → Comparable
  44. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def equals(that: Any): Boolean
    Definition Classes
    Ether → AnyRef → Any
    Annotations
    @inline()
  46. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  47. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  48. def hashCode(): Int
    Definition Classes
    Ether → AnyRef → Any
    Annotations
    @inline()
  49. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  50. def isNegative: Boolean
    Annotations
    @inline()
  51. def isPositive: Boolean

    Zero is not considered to be a positive value

    Zero is not considered to be a positive value

    Annotations
    @inline()
  52. def isZero: Boolean
    Annotations
    @inline()
  53. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  54. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  57. def toHex: String
    Annotations
    @inline()
  58. def toString(): String
    Definition Classes
    Ether → AnyRef → Any
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  62. val wei: BigInt

Inherited from Ordered[Ether]

Inherited from Comparable[Ether]

Inherited from AnyRef

Inherited from Any

Ungrouped