sealed abstract class ScriptNumberOperation extends ScriptNumber with ScriptOperation

Represents a ScriptNumberOperation where the the number in the operation is pushed onto the stack i.e. OP_0 would be push 0 onto the stack, OP_1 would be push 1 onto the stack.

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

Abstract Value Members

  1. abstract def opCode: Int
    Definition Classes
    ScriptOperation
  2. abstract val underlying: Long

    The underlying number of the ScriptNumber.

    The underlying number of the ScriptNumber.

    Attributes
    protected
    Definition Classes
    ScriptNumber

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
    Definition Classes
    ScriptNumber
  4. def &(that: ScriptNumber): ScriptNumber
    Definition Classes
    ScriptNumber
  5. def *(that: ScriptNumber): ScriptNumber
    Definition Classes
    ScriptNumber
  6. def +(that: ScriptNumber): ScriptNumber
    Definition Classes
    ScriptNumber
  7. def -(that: ScriptNumber): ScriptNumber
    Definition Classes
    ScriptNumber
  8. def <(that: Int64): Boolean
    Definition Classes
    ScriptNumber
  9. def <(that: ScriptNumber): Boolean
    Definition Classes
    Ordered
  10. def <=(that: Int64): Boolean
    Definition Classes
    ScriptNumber
  11. def <=(that: ScriptNumber): Boolean
    Definition Classes
    Ordered
  12. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def >(that: Int64): Boolean
    Definition Classes
    ScriptNumber
  14. def >(that: ScriptNumber): Boolean
    Definition Classes
    Ordered
  15. def >=(that: Int64): Boolean
    Definition Classes
    ScriptNumber
  16. def >=(that: ScriptNumber): Boolean
    Definition Classes
    Ordered
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  19. lazy val bytes: ByteVector

    The byte representation of this ScriptToken.

    The byte representation of this ScriptToken.

    Definition Classes
    ScriptOperationScriptTokenNetworkElement
  20. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  22. def compare(that: ScriptNumber): Int
    Definition Classes
    ScriptNumber → Ordered
  23. def compareTo(that: ScriptNumber): Int
    Definition Classes
    Ordered → Comparable
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(obj: Any): Boolean

    This is required so that OP_TRUE == OP_1 and OP_FALSE == OP_0 will both be true

    This is required so that OP_TRUE == OP_1 and OP_FALSE == OP_0 will both be true

    Definition Classes
    ScriptNumberOperation → AnyRef → Any
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    ScriptNumberOperationNetworkElement
  29. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. 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
  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. 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.

    Definition Classes
    ScriptNumber
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. lazy val toByte: Byte
    Definition Classes
    ScriptOperation
  38. def toInt: Int
    Definition Classes
    ScriptNumber
  39. 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
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def unary_-: ScriptNumber
    Definition Classes
    ScriptNumber
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. def |(that: ScriptNumber): ScriptNumber
    Definition Classes
    ScriptNumber

Deprecated Value Members

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

Inherited from ScriptOperation

Inherited from ScriptNumber

Inherited from Ordered[ScriptNumber]

Inherited from Comparable[ScriptNumber]

Inherited from ScriptConstant

Inherited from ScriptToken

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped