bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Class ThresholdDecisionPolicy

    ThresholdDecisionPolicy is a decision policy where a proposal passes when it satisfies the two following conditions:

    1. The sum of all YES voter's weights is greater or equal than the defined threshold.
    2. The voting and execution periods of the proposal respect the parameters given by windows.

    from message cosmos.group.v1.ThresholdDecisionPolicy

    Hierarchy

    Index

    Constructors

    Properties

    threshold: string = ""

    threshold is the minimum weighted sum of YES votes that must be met or exceeded for a proposal to succeed.

    from field: string threshold = 1;

    windows defines the different windows for voting and execution.

    from field: cosmos.group.v1.DecisionPolicyWindows windows = 2;

    fields: FieldList = ...
    runtime: ProtoRuntime = proto3
    typeName: "cosmos.group.v1.ThresholdDecisionPolicy"

    Methods