Class/Object

org.ergoplatform

Pay2SHAddress

Related Docs: object Pay2SHAddress | package ergoplatform

Permalink

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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val addressTypePrefix: Byte

    Permalink

    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

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val contentBytes: Array[Byte]

    Permalink

    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

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    Pay2SHAddress → AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    Pay2SHAddress → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def networkPrefix: NetworkPrefix

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val script: ErgoTree

    Permalink

    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]

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    Pay2SHAddress → AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ErgoAddress

Inherited from AnyRef

Inherited from Any

Ungrouped