object Phrase
- Alphabetic
- By Inheritance
- Phrase
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Base = Any { type __Phrase__newtype }
- case class InvalidChecksum() extends ValidationFailure with Product with Serializable
- case class InvalidWordLength() extends ValidationFailure with Product with Serializable
- case class InvalidWords() extends ValidationFailure with Product with Serializable
- implicit final class Ops$newtype extends AnyVal
- type Repr = IndexedSeq[String]
- trait Tag extends Any
- abstract type Type <: Base with Tag
- sealed trait ValidationFailure extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def cannotUnwrapArrayAmbiguous1: Coercible[Array[Type], Array[Repr]]
- Annotations
- @inline()
- implicit def cannotUnwrapArrayAmbiguous2: Coercible[Array[Type], Array[Repr]]
- Annotations
- @inline()
- implicit def cannotWrapArrayAmbiguous1: Coercible[Array[Repr], Array[Type]]
- Annotations
- @inline()
- implicit def cannotWrapArrayAmbiguous2: Coercible[Array[Repr], Array[Type]]
- Annotations
- @inline()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def deriving[TC[_]](implicit ev: TC[Repr]): TC[Type]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def opsThis(x: Ops$newtype): Type
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def unsafeUnwrap: Coercible[Type, Repr]
- Annotations
- @inline()
- implicit def unsafeUnwrapM[M[_]]: Coercible[M[Type], M[Repr]]
- Annotations
- @inline()
- implicit def unsafeWrap: Coercible[Repr, Type]
- Annotations
- @inline()
- implicit def unsafeWrapM[M[_]]: Coercible[M[Repr], M[Type]]
- Annotations
- @inline()
- def validated(words: String, size: MnemonicSize, languageWords: LanguageWordList): Either[ValidationFailure, Phrase]
Instantiates a
Phrasefrom aStringcontaining a list of words separated by white-space.Instantiates a
Phrasefrom aStringcontaining a list of words separated by white-space.- words
the words of the mnemonic phrase
- size
the expected size of the phrase
- languageWords
the word list of the language
- returns
either a
ValidationFailureif the mnemonic phrase is invalid or aPhraseif it is valid
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()