class Pay2SHAddress extends ErgoAddress

Implementation of pay-to-script-hash ErgoAddress.

Linear Supertypes
ErgoAddress, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pay2SHAddress
  2. ErgoAddress
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Pay2SHAddress(scriptHash: Array[Byte])(implicit encoder: ErgoAddressEncoder)

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. val addressTypePrefix: Byte

    Address type code used to differentiate between pay-to-public-key, pay-to-script, pay-to-script-hash addresses.

    Address type code used to differentiate between pay-to-public-key, pay-to-script, pay-to-script-hash addresses.

    NOTE: Network type code is defined by ErgoAddressEncoder attached to each ErgoAddress instance and it is not included in this value.

    Definition Classes
    Pay2SHAddressErgoAddress
    See also

    P2PKAddress, Pay2SAddress, Pay2SHAddress

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val contentBytes: Array[Byte]

    Serialized bytes of the address content (depending on the address type).

    Serialized bytes of the address content (depending on the address type). Doesn't include network type and address type prefix byte.

    Definition Classes
    Pay2SHAddressErgoAddress
    See also

    P2PKAddress, Pay2SAddress, Pay2SHAddress

  8. implicit val encoder: ErgoAddressEncoder
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(obj: Any): Boolean
    Definition Classes
    Pay2SHAddress → AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    Pay2SHAddress → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def networkPrefix: NetworkPrefix

    Network type code to be used in address encoding.

    Network type code to be used in address encoding.

    Definition Classes
    Pay2SHAddressErgoAddress
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val script: ErgoTree

    The proposition which checks that contextVar(scriptId) has original script (whose hash equals to this scriptHash) which evaluates to true.

    The proposition which checks that contextVar(scriptId) has original script (whose hash equals to this scriptHash) which evaluates to true.

    Assumes the context variable is accessed as getVar[Coll[Byte]](1).get and contains serialized original script bytes.

    NOTE: This script is not stored in contentBytes of the address. So the address doesn't depend on this script which means this specific script can be changed without breaking the addresses.

    NOTE: The ErgoTree is created without segregation of the constants.

    NOTE: that P2SH address is using 192-bits hash, unlike the "P2SH - 160 bits" example (and well-known P2SH addresses in Bitcoin)

    Definition Classes
    Pay2SHAddressErgoAddress
    See also

    ErgoLikeInterpreterSpecification the "P2SH - 160 bits" test

  20. val scriptHash: Array[Byte]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    Pay2SHAddress → AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ErgoAddress

Inherited from AnyRef

Inherited from Any

Ungrouped