object ScriptPubKey extends Factory[ScriptPubKey] with ScriptFactory[ScriptPubKey]

Factory companion object used to create ScriptPubKey objects

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScriptPubKey
  2. ScriptFactory
  3. Factory
  4. AnyRef
  5. 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(asm: Seq[ScriptToken]): ScriptPubKey
  5. def apply(hex: String): ScriptPubKey

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  6. def apply(bytes: ByteVector): ScriptPubKey

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def buildScript(asm: Vector[ScriptToken], constructor: (Vector[ScriptToken]) => ScriptPubKey, invariant: (Seq[ScriptToken]) => Boolean, errorMsg: String): ScriptPubKey

    Builds a script from the given asm with the given constructor if the invariant holds true, else throws an error

    Builds a script from the given asm with the given constructor if the invariant holds true, else throws an error

    Definition Classes
    ScriptFactory
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. val empty: ScriptPubKey
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def fromAsm(asm: Seq[ScriptToken]): ScriptPubKey

    Creates a scriptPubKey from its asm representation

    Creates a scriptPubKey from its asm representation

    Definition Classes
    ScriptPubKeyScriptFactory
  14. def fromAsmBytes(bytes: ByteVector): ScriptPubKey

    Scripts are serialized with a CompactSizeUInt at the beginning to indicate how long the Script is.

    Scripts are serialized with a CompactSizeUInt at the beginning to indicate how long the Script is. This construct assumes the CompactSizeUInt is NOT passed into the constructor. Only the actual Script program bytes.

    Definition Classes
    ScriptFactory
  15. def fromAsmHex(hex: String): ScriptPubKey

    Scripts are serialized with a CompactSizeUInt at the beginning to indicate how long the ScriptSignature is .

    Scripts are serialized with a CompactSizeUInt at the beginning to indicate how long the ScriptSignature is . This construct assumes the CompactSizeUInt is NOT passed into the constructor. Only the actual Script program hex is.

    Definition Classes
    ScriptFactory
  16. def fromBytes(bytes: ByteVector): ScriptPubKey

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    ScriptFactoryFactory
  17. def fromBytesLE(bytes: ByteVector): ScriptPubKey

    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
  18. def fromHex(hex: String): ScriptPubKey

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  19. def fromHexLE(hex: String): ScriptPubKey

    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
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. implicit def self: Factory[ScriptPubKey]

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

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

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

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 ScriptFactory[ScriptPubKey]

Inherited from Factory[ScriptPubKey]

Inherited from AnyRef

Inherited from Any

Ungrouped