abstract class Factory[+T] extends AnyRef

Created by chris on 2/26/16. Trait to implement ubiquitous factory functions across our codebase

Linear Supertypes
Known Subclasses
ContractInfo, OracleInfo, DLCTimeouts, BloomFilter, BloomFlag, BIP39Seed, ChainCode, ExtKey, ExtPrivateKey, ExtPrivateKeyHardened, ExtPublicKey, Satoshis, FilterType, BIP32Path, Int32, Int64, UInt16, UInt32, UInt5, UInt64, UInt8, AddrMessage, BlockMessage, CompactFilterCheckPointMessage, CompactFilterHeadersMessage, CompactFilterMessage, FeeFilterMessage, FilterAddMessage, FilterLoadMessage, GetBlocksMessage, GetCompactFilterCheckPointMessage, GetCompactFilterHeadersMessage, GetCompactFiltersMessage, GetDataMessage, GetHeadersMessage, HeadersMessage, Inventory, InventoryMessage, MerkleBlockMessage, NetworkHeader, NetworkIpAddress, NetworkMessage, NotFoundMessage, PingMessage, PongMessage, ProtocolVersion, RejectMessage, ServiceIdentifier, TransactionMessage, TypeIdentifier, VersionMessage, BigSizeUInt, CompactSizeUInt, Block, BlockHeader, MerkleBlock, LnInvoiceSignature, PaymentPreimage, PaymentSecret, ShortChannelId, FundedChannelId, NodeId, CLTVScriptPubKey, CLTVScriptSignature, CSVScriptPubKey, CSVScriptSignature, ConditionalScriptSignature, LockTimeScriptPubKey, MultiSignatureScriptPubKey, MultiSignatureScriptSignature, MultiSignatureWithTimeoutScriptPubKey, NonStandardIfConditionalScriptPubKey, NonStandardNotIfConditionalScriptPubKey, NonStandardScriptPubKey, NonStandardScriptSignature, NonWitnessScriptPubKey, P2PKHScriptPubKey, P2PKHScriptSignature, P2PKScriptPubKey, P2PKScriptSignature, P2PKWithTimeoutScriptPubKey, P2PKWithTimeoutScriptSignature, P2SHScriptPubKey, P2SHScriptSignature, P2WPKHWitnessSPKV0, P2WSHWitnessSPKV0, RawScriptPubKey, ScriptFactory, ScriptPubKey, ScriptSignature, UnassignedWitnessScriptPubKey, WitnessCommitment, WitnessScriptPubKey, EnumEventDescriptorV0TLV, ErrorTLV, EventDescriptorTLV, ExternalEventDescriptorV0TLV, OracleAnnouncementV0TLV, OracleEventV0TLV, PingTLV, PongTLV, RangeEventDescriptorV0TLV, TLV, TLVFactory, TLVParentFactory, UnknownTLV, BaseTransaction, OutputReference, Transaction, TransactionInput, TransactionOutPoint, TransactionOutput, WitnessTransaction, GlobalPSBTMap, GlobalPSBTRecord, InputPSBTMap, InputPSBTRecord, PartialSignature, OutputPSBTMap, OutputPSBTRecord, PSBT, PSBTGlobalKeyId, PSBTInputKeyId, PSBTKeyIdFactory, PSBTMapFactory, PSBTOutputKeyId, ScriptConstant, ScriptNumber, HashType, ScriptParser, ScriptParser, AesSalt, DoubleSha256Digest, DoubleSha256DigestBE, ECAdaptorSignature, ECDigitalSignature, ECPrivateKey, ECPublicKey, FieldElement, RipeMd160Digest, RipeMd160DigestBE, SchnorrDigitalSignature, SchnorrNonce, SchnorrPublicKey, Sha1Digest, Sha1DigestBE, Sha256Digest, Sha256DigestBE, Sha256Hash160Digest, Sha256Hash160DigestBE
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Factory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Factory()

Abstract Value Members

  1. abstract def fromBytes(bytes: ByteVector): T

    Creates a T out of a sequence of bytes.

Concrete 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): T

    Creates a T from a hex string.

  5. def apply(bytes: ByteVector): T

    Creates a T out of a sequence of bytes.

  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() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def fromBytesLE(bytes: ByteVector): T

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

  11. def fromHex(hex: String): T

    Creates a T out of a hex string.

  12. def fromHexLE(hex: String): T

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

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. implicit def self: Factory[T]

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

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. 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

Inherited from AnyRef

Inherited from Any

Ungrouped