Interface VotingPolicy.Builder

    • Method Detail

      • approvalThresholdPolicy

        VotingPolicy.Builder approvalThresholdPolicy​(ApprovalThresholdPolicy approvalThresholdPolicy)

        Defines the rules for the network for voting on proposals, such as the percentage of YES votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.

        Parameters:
        approvalThresholdPolicy - Defines the rules for the network for voting on proposals, such as the percentage of YES votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.