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

    Class MsgUniversalUpdateCollection

    MsgUniversalUpdateCollection is used to define MsgServer types for all requests and responses for Msgs of the tokens 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

    Index

    Constructors

    Properties

    aliasPathsToAdd: badges.AliasPathAddObject[] = []

    Alias (non-wrapping) paths to add.

    from field: repeated badges.AliasPathAddObject aliasPathsToAdd = 25;

    collectionApprovals: badges.CollectionApproval[] = []

    New collection approvals to set.

    from field: repeated badges.CollectionApproval collectionApprovals = 17;

    collectionId: string = ""

    ID of the collection (0 for new collection).

    from field: string collectionId = 2;

    collectionMetadata?: badges.CollectionMetadata

    New collection metadata to set.

    from field: badges.CollectionMetadata collectionMetadata = 11;

    collectionPermissions?: badges.CollectionPermissions

    New collection permissions to set.

    from field: badges.CollectionPermissions collectionPermissions = 7;

    cosmosCoinWrapperPathsToAdd: badges.CosmosCoinWrapperPathAddObject[] = []

    IBC wrapper paths to add.

    from field: repeated badges.CosmosCoinWrapperPathAddObject cosmosCoinWrapperPathsToAdd = 23;

    creator: string = ""

    Address of the creator.

    from field: string creator = 1;

    customData: string = ""

    New custom data to set.

    from field: string customData = 15;

    defaultBalances?: badges.UserBalanceStore

    The default balances for the user

    from field: badges.UserBalanceStore defaultBalances = 3;

    Collection-level invariants that cannot be broken. These are set upon genesis and cannot be modified. Addresses are generated by the keeper and stored in the collection.

    from field: badges.InvariantsAddObject invariants = 24;

    isArchived: boolean = false

    New isArchived to set.

    from field: bool isArchived = 21;

    manager: string = ""

    New manager to set.

    from field: string manager = 9;

    mintEscrowCoinsToTransfer: Coin[] = []

    Coins to be transferred to the mint escrow address.

    from field: repeated cosmos.base.v1beta1.Coin mintEscrowCoinsToTransfer = 22;

    standards: string[] = []

    New standards to set.

    from field: repeated string standards = 19;

    tokenMetadata: badges.TokenMetadata[] = []

    New token metadata to set.

    from field: repeated badges.TokenMetadata tokenMetadata = 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 = 16;

    updateCollectionMetadata: boolean = false

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

    from field: bool updateCollectionMetadata = 10;

    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 = 6;

    updateCustomData: boolean = false

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

    from field: bool updateCustomData = 14;

    updateIsArchived: boolean = false

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

    from field: bool updateIsArchived = 20;

    updateManager: boolean = false

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

    from field: bool updateManager = 8;

    updateStandards: boolean = false

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

    from field: bool updateStandards = 18;

    updateTokenMetadata: boolean = false

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

    from field: bool updateTokenMetadata = 12;

    updateValidTokenIds: boolean = false

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

    from field: bool updateValidTokenIds = 4;

    validTokenIds: badges.UintRange[] = []

    New token IDs to add to this collection

    from field: repeated badges.UintRange validTokenIds = 5;

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

    Methods