Challenge

org.plasmalabs.sdk.models.box.Challenge
See theChallenge companion class
object Challenge extends GeneratedMessageCompanion[Challenge]

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[Challenge]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Challenge.type

Members list

Type members

Classlikes

implicit class ChallengeLens[UpperPB](_l: Lens[UpperPB, Challenge]) extends ObjectLens[UpperPB, Challenge]

Attributes

Supertypes
class ObjectLens[UpperPB, Challenge]
trait Lens[UpperPB, Challenge]
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class PreviousProposition(address: Option[TransactionInputAddress], index: Int, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[PreviousProposition]

Previousroposition requires two parameters the transaction input address and index of the previously revealed proposition.

Previousroposition requires two parameters the transaction input address and index of the previously revealed proposition.

Attributes

Companion
object
Supertypes
trait Updatable[PreviousProposition]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PreviousProposition extends GeneratedMessageCompanion[PreviousProposition]

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[PreviousProposition]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object Proposition

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Proposition extends GeneratedOneof

Attributes

Companion
object
Supertypes
trait GeneratedOneof
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Empty
class Previous
class Revealed

Inherited types

Attributes

Inherited from:
GeneratedMessageCompanion

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]
def of(proposition: Proposition): Challenge
def parseFrom(`_input__`: CodedInputStream): Challenge

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

def scalaDescriptor: Descriptor

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def fromAscii(s: String): Challenge

Attributes

Inherited from:
GeneratedMessageCompanion
def merge(a: Challenge, input: CodedInputStream): Challenge

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: InputStream): Option[Challenge]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseDelimitedFrom(input: CodedInputStream): Option[Challenge]

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(s: Array[Byte]): Challenge

Attributes

Inherited from:
GeneratedMessageCompanion
def parseFrom(input: InputStream): Challenge

Attributes

Inherited from:
GeneratedMessageCompanion
def streamFromDelimitedInput(input: InputStream): Stream[Challenge]

Attributes

Inherited from:
GeneratedMessageCompanion
def toByteArray(a: Challenge): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
def validate(s: Array[Byte]): Try[Challenge]

Attributes

Inherited from:
GeneratedMessageCompanion
def validateAscii(s: String): Either[TextFormatError, Challenge]

Attributes

Inherited from:
GeneratedMessageCompanion

Concrete fields

final val PREVIOUS_FIELD_NUMBER: 2
final val REVEALED_FIELD_NUMBER: 1
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Implicits

Implicits

final implicit def ChallengeLens[UpperPB](_l: Lens[UpperPB, Challenge]): ChallengeLens[UpperPB]
implicit def messageCompanion: GeneratedMessageCompanion[Challenge]
implicit def messageReads: Reads[Challenge]
implicit def validator: Validator[Challenge]