Packages

object CcfGovernanceApi

A model of CCF's Governance JSON API.

Provides types for request and response data structures as well as wrappers for identifiers, such as a proposal id, and for all types JSON encoders and decoders.

CcfGovernanceClient is used to actually issue requests to the CCF's governance API.

Annotations
@nowarn()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CcfGovernanceApi
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AckRequest(stateDigest: Array[UByte]) extends Product with Serializable
  2. case class AddUserProposal(userCert: X509CertificatePem) extends Proposal with Product with Serializable
  3. case class GetUserId(userCertDer: X509CertificateDer) extends Product with Serializable
  4. sealed trait Proposal extends AnyRef
  5. case class ProposalAction(id: ProposalId) extends Product with Serializable
  6. case class ProposalId(id: Int) extends Product with Serializable
  7. case class ProposalResult(script: Script, parameter: Json, proposer: ProposerId, state: ProposalState, votes: List[(ProposerId, Script)]) extends Product with Serializable
  8. sealed trait ProposalState extends AnyRef
  9. case class ProposeResult(proposalId: ProposalId, proposerId: ProposerId, state: ProposalState) extends Product with Serializable
  10. case class ProposerId(id: Int) extends Product with Serializable
  11. case class Script(bytecode: Option[Array[UByte]], text: Option[String]) extends Product with Serializable
  12. case class SetUserDataProposal[D](userId: UserId, userData: D)(implicit evidence$1: Encoder[D]) extends Proposal with Product with Serializable
  13. case class SignedRequest(md: String, req: Array[UByte], requestBody: Array[UByte], sig: Array[UByte]) extends Product with Serializable
  14. case class UpdateStateDigestResult(signedReq: SignedRequest, stateDigest: Array[UByte]) extends Product with Serializable
  15. case class UserId(id: Int) extends Product with Serializable

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. object AckRequest extends Serializable
  20. object AddUserProposal extends Serializable
  21. object GetUserId extends Serializable
  22. object Proposal
  23. object ProposalAction extends Serializable
  24. object ProposalId extends Serializable
  25. object ProposalResult extends Serializable
  26. object ProposalState
  27. object ProposeResult extends Serializable
  28. object ProposerId extends Serializable
  29. object Script extends Serializable
  30. object SetUserDataProposal extends Serializable
  31. object SignedRequest extends Serializable
  32. object UpdateStateDigestResult extends Serializable
  33. object UserId extends Serializable

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