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

from message cosmos.group.v1.GroupInfo

Hierarchy

Constructors

Properties

admin: string = ""

admin is the account address of the group's admin.

from field: string admin = 2;

createdAt?: Timestamp

created_at is a timestamp specifying when a group was created.

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

id: bigint = protoInt64.zero

id is the unique ID of the group.

from field: uint64 id = 1;

metadata: string = ""

metadata is any arbitrary metadata to attached to the group.

from field: string metadata = 3;

totalWeight: string = ""

total_weight is the sum of the group members' weights.

from field: string total_weight = 5;

version: bigint = protoInt64.zero

version is used to track changes to a group's membership structure that would break existing proposals. Whenever any members weight is changed, or any member is added or removed this version is incremented and will cause proposals based on older versions of this group to fail

from field: uint64 version = 4;

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

Methods