Skip to content

VotingPolicy

Source code in docs_src/capo_managedblockchain/types/voting_policy.py
class VotingPolicy(TypedDict, closed=True):
    approval_threshold_policy: NotRequired[
        "capo_managedblockchain.types.approval_threshold_policy.ApprovalThresholdPolicy"
    ]
    """<p>Defines the rules for the network for voting on proposals, such as the percentage of <code>YES</code> 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.</p>"""

approval_threshold_policy instance-attribute

approval_threshold_policy: NotRequired[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.