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()
  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. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    ScriptNumberOperationNetworkElement
  30. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

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

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