MsgUniversalUpdateCollection is used to define MsgServer types for all requests and responses for Msgs of the badges module. It is a universal interface that can be used for both creating and updating collections. We have it defined for legacy purposes, but it is recommended to use MsgCreateCollection and MsgUpdateCollection instead.

from message badges.MsgUniversalUpdateCollection

Hierarchy

Constructors

Properties

badgeIdsToAdd: proto.badges.UintRange[] = []

New badge IDs to add to this collection

from field: repeated badges.UintRange badgeIdsToAdd = 6;

badgeMetadataTimeline: proto.badges.BadgeMetadataTimeline[] = []

New badge metadata timeline to set.

from field: repeated badges.BadgeMetadataTimeline badgeMetadataTimeline = 14;

balancesType: string = ""

Type of balances "Standard" or "Off-Chain - Indexed" or "Off-Chain - Non-Indexed" or "Non-Public".

from field: string balancesType = 3;

collectionApprovals: proto.badges.CollectionApproval[] = []

New collection approvals to set.

from field: repeated badges.CollectionApproval collectionApprovals = 22;

collectionId: string = ""

ID of the collection (0 for new collection).

from field: string collectionId = 2;

collectionMetadataTimeline: proto.badges.CollectionMetadataTimeline[] = []

New collection metadata timeline to set.

from field: repeated badges.CollectionMetadataTimeline collectionMetadataTimeline = 12;

collectionPermissions?: proto.badges.CollectionPermissions

New collection permissions to set.

from field: badges.CollectionPermissions collectionPermissions = 8;

creator: string = ""

Address of the creator.

from field: string creator = 1;

customDataTimeline: proto.badges.CustomDataTimeline[] = []

New custom data timeline to set.

from field: repeated badges.CustomDataTimeline customDataTimeline = 18;

defaultBalances?: proto.badges.UserBalanceStore

The default balances for the user

from field: badges.UserBalanceStore defaultBalances = 4;

isArchivedTimeline: proto.badges.IsArchivedTimeline[] = []

New isArchived timeline to set.

from field: repeated badges.IsArchivedTimeline isArchivedTimeline = 26;

managerTimeline: proto.badges.ManagerTimeline[] = []

New manager timeline to set.

from field: repeated badges.ManagerTimeline managerTimeline = 10;

offChainBalancesMetadataTimeline: proto.badges.OffChainBalancesMetadataTimeline[] = []

New off-chain balances metadata timeline to set.

from field: repeated badges.OffChainBalancesMetadataTimeline offChainBalancesMetadataTimeline = 16;

standardsTimeline: proto.badges.StandardsTimeline[] = []

New standards timeline to set.

from field: repeated badges.StandardsTimeline standardsTimeline = 24;

updateBadgeMetadataTimeline: boolean = false

Indicates if the badge metadata timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.

from field: bool updateBadgeMetadataTimeline = 13;

updateCollectionApprovals: boolean = false

Indicates if collection approvals should be updated. If true, we set to value in this Msg. If false, we keep existing value.

from field: bool updateCollectionApprovals = 21;

updateCollectionMetadataTimeline: boolean = false

Indicates if the collection metadata timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.

from field: bool updateCollectionMetadataTimeline = 11;

updateCollectionPermissions: boolean = false

Indicates if collection permissions should be updated. If true, we set to value in this Msg. If false, we keep existing value.

from field: bool updateCollectionPermissions = 7;

updateCustomDataTimeline: boolean = false

Indicates if the custom data timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.

from field: bool updateCustomDataTimeline = 17;

updateIsArchivedTimeline: boolean = false

Indicates if the isArchived timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.

from field: bool updateIsArchivedTimeline = 25;

updateManagerTimeline: boolean = false

Indicates if the manager timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.

from field: bool updateManagerTimeline = 9;

updateOffChainBalancesMetadataTimeline: boolean = false

Indicates if the off-chain balances metadata timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.

from field: bool updateOffChainBalancesMetadataTimeline = 15;

updateStandardsTimeline: boolean = false

Indicates if the standards timeline should be updated. If true, we set to value in this Msg. If false, we keep existing value.

from field: bool updateStandardsTimeline = 23;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "badges.MsgUniversalUpdateCollection" = "badges.MsgUniversalUpdateCollection"

Methods