Packages

object ScriptParser extends ScriptParser

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScriptParser
  2. ScriptParser
  3. StringFactory
  4. Factory
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(hex: String): Vector[ScriptToken]

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  5. def apply(bytes: ByteVector): Vector[ScriptToken]

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def fromBytes(bytes: ByteVector): Vector[ScriptToken]

    Parses a list of bytes into a list of script tokens

    Parses a list of bytes into a list of script tokens

    Definition Classes
    ScriptParserFactory
  12. def fromBytesLE(bytes: ByteVector): Vector[ScriptToken]

    Creates a T out of a sequence of bytes in little endian.

    Creates a T out of a sequence of bytes in little endian.

    Definition Classes
    Factory
  13. def fromBytesOpt(bytes: ByteVector): Option[Vector[ScriptToken]]

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Definition Classes
    Factory
  14. def fromBytesT(bytes: ByteVector): Try[Vector[ScriptToken]]

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Definition Classes
    Factory
  15. def fromHex(hex: String): Vector[ScriptToken]

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  16. def fromHexLE(hex: String): Vector[ScriptToken]

    Creates a T out of a hex string in little endian.

    Creates a T out of a hex string in little endian.

    Definition Classes
    Factory
  17. def fromHexOpt(hex: String): Option[Vector[ScriptToken]]

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Definition Classes
    Factory
  18. def fromHexT(hex: String): Try[Vector[ScriptToken]]

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Definition Classes
    Factory
  19. def fromString(str: String): Vector[ScriptToken]

    Parses an asm output script of a transaction example: "OP_DUP OP_HASH160 e2e7c1ab3f807151e832dd1accb3d4f5d7d19b4b OP_EQUALVERIFY OP_CHECKSIG" example: ["0", "IF 0x50 ENDIF 1", "P2SH,STRICTENC", "0x50 is reserved (ok if not executed)"] (from script_valid.json)

    Parses an asm output script of a transaction example: "OP_DUP OP_HASH160 e2e7c1ab3f807151e832dd1accb3d4f5d7d19b4b OP_EQUALVERIFY OP_CHECKSIG" example: ["0", "IF 0x50 ENDIF 1", "P2SH,STRICTENC", "0x50 is reserved (ok if not executed)"] (from script_valid.json)

    Definition Classes
    ScriptParserStringFactory
  20. def fromStringOpt(string: String): Option[Vector[ScriptToken]]

    Treis to parse a string to type t, returns None if failure

    Treis to parse a string to type t, returns None if failure

    Definition Classes
    StringFactory
  21. def fromStringT(string: String): Try[Vector[ScriptToken]]

    Tries to parse string to type t, returns scala.util.Failure if the fails

    Tries to parse string to type t, returns scala.util.Failure if the fails

    Definition Classes
    StringFactory
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def parseBytesFromString(s: String): Vector[ScriptConstant]

    Parses the bytes in string format, an example input would look like this "0x09 0x00000000 0x00000000 0x10" see https://github.com/bitcoin/bitcoin/blob/master/src/test/data/script_valid.json#L21-L25 for examples of this

    Parses the bytes in string format, an example input would look like this "0x09 0x00000000 0x00000000 0x10" see https://github.com/bitcoin/bitcoin/blob/master/src/test/data/script_valid.json#L21-L25 for examples of this

    Definition Classes
    ScriptParser
  29. def parseRedeemScript(scriptToken: ScriptToken): Try[Vector[ScriptToken]]

    Parses a redeem script from the given script token

    Parses a redeem script from the given script token

    Definition Classes
    ScriptParser
  30. implicit def self: Factory[Vector[ScriptToken]]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ScriptParser

Inherited from Factory[Vector[ScriptToken]]

Inherited from AnyRef

Inherited from Any

Ungrouped