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

  1. The percentage of all YES voters' weights out of the total group weight is greater or equal than the given percentage.
  2. The voting and execution periods of the proposal respect the parameters given by windows.

from message cosmos.group.v1.PercentageDecisionPolicy

Hierarchy

Constructors

Properties

percentage: string = ""

percentage is the minimum percentage of the weighted sum of YES votes must meet for a proposal to succeed.

from field: string percentage = 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.PercentageDecisionPolicy" = "cosmos.group.v1.PercentageDecisionPolicy"

Methods