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
- Alphabetic
- By Inheritance
Inherited
- CcfGovernanceApi
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class AckRequest(stateDigest: Array[UByte]) extends Product with Serializable
- case class AddUserProposal(userCert: X509CertificatePem) extends Proposal with Product with Serializable
- case class GetUserId(userCertDer: X509CertificateDer) extends Product with Serializable
- sealed trait Proposal extends AnyRef
- case class ProposalAction(id: ProposalId) extends Product with Serializable
- case class ProposalId(id: Int) extends Product with Serializable
- case class ProposalResult(script: Script, parameter: Json, proposer: ProposerId, state: ProposalState, votes: List[(ProposerId, Script)]) extends Product with Serializable
- sealed trait ProposalState extends AnyRef
- case class ProposeResult(proposalId: ProposalId, proposerId: ProposerId, state: ProposalState) extends Product with Serializable
- case class ProposerId(id: Int) extends Product with Serializable
- case class Script(bytecode: Option[Array[UByte]], text: Option[String]) extends Product with Serializable
- case class SetUserDataProposal[D](userId: UserId, userData: D)(implicit evidence$1: Encoder[D]) extends Proposal with Product with Serializable
- case class SignedRequest(md: String, req: Array[UByte], requestBody: Array[UByte], sig: Array[UByte]) extends Product with Serializable
- case class UpdateStateDigestResult(signedReq: SignedRequest, stateDigest: Array[UByte]) extends Product with Serializable
- case class UserId(id: Int) extends Product with Serializable
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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object AckRequest extends Serializable
- object AddUserProposal extends Serializable
- object GetUserId extends Serializable
- object Proposal
- object ProposalAction extends Serializable
- object ProposalId extends Serializable
- object ProposalResult extends Serializable
- object ProposalState
- object ProposeResult extends Serializable
- object ProposerId extends Serializable
- object Script extends Serializable
- object SetUserDataProposal extends Serializable
- object SignedRequest extends Serializable
- object UpdateStateDigestResult extends Serializable
- object UserId extends Serializable