case object OP_1NEGATE extends ScriptNumberOperation with Product with Serializable
The number -1 is pushed onto the stack.
- Alphabetic
 - By Inheritance
 
- OP_1NEGATE
 - Serializable
 - Product
 - Equals
 - ScriptNumberOperation
 - ScriptOperation
 - ScriptNumber
 - Ordered
 - Comparable
 - ScriptConstant
 - ScriptToken
 - NetworkElement
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Value Members
-   final  def !=(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -   final  def ##: Int
- Definition Classes
 - AnyRef → Any
 
 -    def &(that: Int64): ScriptNumber
- Definition Classes
 - ScriptNumber
 
 -    def &(that: ScriptNumber): ScriptNumber
- Definition Classes
 - ScriptNumber
 
 -    def *(that: ScriptNumber): ScriptNumber
- Definition Classes
 - ScriptNumber
 
 -    def +(that: ScriptNumber): ScriptNumber
- Definition Classes
 - ScriptNumber
 
 -    def -(that: ScriptNumber): ScriptNumber
- Definition Classes
 - ScriptNumber
 
 -    def <(that: Int64): Boolean
- Definition Classes
 - ScriptNumber
 
 -    def <(that: ScriptNumber): Boolean
- Definition Classes
 - Ordered
 
 -    def <=(that: Int64): Boolean
- Definition Classes
 - ScriptNumber
 
 -    def <=(that: ScriptNumber): Boolean
- Definition Classes
 - Ordered
 
 -   final  def ==(arg0: Any): Boolean
- Definition Classes
 - AnyRef → Any
 
 -    def >(that: Int64): Boolean
- Definition Classes
 - ScriptNumber
 
 -    def >(that: ScriptNumber): Boolean
- Definition Classes
 - Ordered
 
 -    def >=(that: Int64): Boolean
- Definition Classes
 - ScriptNumber
 
 -    def >=(that: ScriptNumber): Boolean
- Definition Classes
 - Ordered
 
 -   final  def asInstanceOf[T0]: T0
- Definition Classes
 - Any
 
 -    def byteSize: Long
The size of the NetworkElement in bytes.
The size of the NetworkElement in bytes.
- Definition Classes
 - NetworkElement
 
 -    lazy val bytes: ByteVector
The byte representation of this ScriptToken.
The byte representation of this ScriptToken.
- Definition Classes
 - ScriptOperation → ScriptToken → NetworkElement
 
 -    def bytesLE: ByteVector
The byte representation of the NetworkElement in little endian
The byte representation of the NetworkElement in little endian
- Definition Classes
 - NetworkElement
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
 -    def compare(that: ScriptNumber): Int
- Definition Classes
 - ScriptNumber → Ordered
 
 -    def compareTo(that: ScriptNumber): Int
- Definition Classes
 - Ordered → Comparable
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -    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
 
 -    def finalize(): Unit
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.Throwable])
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native()
 
 -    def hex: String
The hexadecimal representation of the NetworkElement
The hexadecimal representation of the NetworkElement
- Definition Classes
 - ScriptNumberOperation → NetworkElement
 
 -    def hexLE: String
The hexadecimal representation of the NetworkElement in little endian
The hexadecimal representation of the NetworkElement in little endian
- Definition Classes
 - NetworkElement
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -    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
 
 -   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()
 
 -    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
 
 -    val opCode: Int
- Definition Classes
 - OP_1NEGATE → ScriptOperation
 
 -    def productElementName(n: Int): String
- Definition Classes
 - Product
 
 -    def productElementNames: Iterator[String]
- Definition Classes
 - Product
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -    lazy val toByte: Byte
- Definition Classes
 - ScriptOperation
 
 -    def toInt: Int
- Definition Classes
 - ScriptNumber
 
 -    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
 - ScriptNumber → ScriptToken
 
 -    def unary_-: ScriptNumber
- Definition Classes
 - ScriptNumber
 
 -    val underlying: Long
The underlying number of the ScriptNumber.
The underlying number of the ScriptNumber.
- Definition Classes
 - OP_1NEGATE → ScriptNumber
 
 -   final  def wait(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException])
 
 -   final  def wait(arg0: Long): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.InterruptedException]) @native()
 
 -    def |(that: ScriptNumber): ScriptNumber
- Definition Classes
 - ScriptNumber