ApprovalRequest
Represents a request for approval of an event.The signed event request.
The sequence number of the event.
The version of the governance contract.
The patch to apply to the state.
The hash of the state after applying the patch.
The hash of the previous event.
The identifier of the governance contract.
ApprovalResponse
Represents a response to an approval request.The hash of the approval request being responded to.
Whether the approval request was approved or not.
ApprovalEntity
Represents a complete approval entity, tracking the request, response, and state.The identifier of the approval entity.
The signed approval request.
The signed approval response, if one has been received.
The state of the approval entity.
The identifier of the entity that sent the approval request.
ApprovalState
An enum representing the possible states of an approval entity.Pending
The approval entity is pending a response.
RespondedAccepted
Request for approval which is in responded status and accepted.
RespondedRejected
Request for approval which is in responded status and rejected.
Obsolete
The approval entity is obsolete.
Approval Workflow
- Request - An
ApprovalRequestis created and sent to approvers - Review - Approvers review the request and create an
ApprovalResponse - Collection - Responses are collected until quorum is reached
- Application - If approved, the event is applied to the subject
Example
Related Types
Event- Events that may require approvalSigned<T>- Wrapper for cryptographically signed dataDigestIdentifier- Cryptographic identifierSignature- Cryptographic signature
