sealed abstract class ScriptNumber extends ScriptConstant with Ordered[ScriptNumber]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScriptNumber
  2. Ordered
  3. Comparable
  4. ScriptConstant
  5. ScriptToken
  6. NetworkElement
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def bytes: ByteVector

    The byte representation of this ScriptToken.

    The byte representation of this ScriptToken.

    Definition Classes
    ScriptTokenNetworkElement
  2. abstract val underlying: Long

    The underlying number of the ScriptNumber.

    The underlying number of the ScriptNumber.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &(that: Int64): ScriptNumber
  4. def &(that: ScriptNumber): ScriptNumber
  5. def *(that: ScriptNumber): ScriptNumber
  6. def +(that: ScriptNumber): ScriptNumber
  7. def -(that: ScriptNumber): ScriptNumber
  8. def <(that: Int64): Boolean
  9. def <(that: ScriptNumber): Boolean
    Definition Classes
    Ordered
  10. def <=(that: Int64): Boolean
  11. def <=(that: ScriptNumber): Boolean
    Definition Classes
    Ordered
  12. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def >(that: Int64): Boolean
  14. def >(that: ScriptNumber): Boolean
    Definition Classes
    Ordered
  15. def >=(that: Int64): Boolean
  16. def >=(that: ScriptNumber): Boolean
    Definition Classes
    Ordered
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  20. def compare(that: ScriptNumber): Int
    Definition Classes
    ScriptNumber → Ordered
  21. def compareTo(that: ScriptNumber): Int
    Definition Classes
    Ordered → Comparable
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  27. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isShortestEncoding: Boolean

    Returns if the ScriptConstant is encoded in the shortest possible way.

    Returns if the ScriptConstant is encoded in the shortest possible way.

    Definition Classes
    ScriptConstant
  30. def logger: Logger
    Definition Classes
    NetworkElement
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. def numEqual(that: ScriptNumber): Boolean

    This equality just checks that the underlying scala numbers are equivalent, NOT if the numbers are bitwise equivalent in Script.

    This equality just checks that the underlying scala numbers are equivalent, NOT if the numbers are bitwise equivalent in Script. For instance ScriptNumber(0x01).numEqual(ScriptNumber(0x00000000001)) == true but (ScriptNumber(0x01) == (ScriptNumber(0x00000000001))) == false.

  35. def size: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toInt: Int
  38. def toLong: Long

    The conversion from the byte representation of a ScriptToken to a number.

    The conversion from the byte representation of a ScriptToken to a number.

    Definition Classes
    ScriptNumberScriptToken
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. def unary_-: ScriptNumber
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. def |(that: ScriptNumber): ScriptNumber

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Ordered[ScriptNumber]

Inherited from Comparable[ScriptNumber]

Inherited from ScriptConstant

Inherited from ScriptToken

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped