GroupPolicyInfo represents the high-level on-chain information for a group policy.

from message cosmos.group.v1.GroupPolicyInfo

Hierarchy

Constructors

Properties

address: string = ""

address is the account address of group policy.

from field: string address = 1;

admin: string = ""

admin is the account address of the group admin.

from field: string admin = 3;

createdAt?: Timestamp

created_at is a timestamp specifying when a group policy was created.

from field: google.protobuf.Timestamp created_at = 7;

decisionPolicy?: Any

decision_policy specifies the group policy's decision policy.

from field: google.protobuf.Any decision_policy = 6;

groupId: bigint = protoInt64.zero

group_id is the unique ID of the group.

from field: uint64 group_id = 2;

metadata: string = ""

metadata is any arbitrary metadata attached to the group policy. the recommended format of the metadata is to be found here: https://docs.cosmos.network/v0.47/modules/group#decision-policy-1

from field: string metadata = 4;

version: bigint = protoInt64.zero

version is used to track changes to a group's GroupPolicyInfo structure that would create a different result on a running proposal.

from field: uint64 version = 5;

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

Methods