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

    Class MsgUpdateCollection<T>

    MsgUpdateCollection is a transaction that can be used to update any collection. It is only executable by the manager.

    Note that you must have the necessary privileges to update specific fields. If you do not have the necessary privileges, it will throw an error. We update any CollectionPermissions at the end, so the permissions checked for the current execution are the permissions BEFORE the update. In the case of the first MsgUpdateCollection, the previous permissions are by default all permitted.

    To specify you would like to update a field, the corresponding update field must be set to true. If it is set to false, we ignore it.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    collectionApprovals?: CollectionApproval<T>[]

    The new collection approved transfers timeline. Must have the necessary permissions in future transactions to update. However, no restrictions in this genesis Msg.

    collectionId: string

    The ID of the collection to update.

    collectionMetadataTimeline?: CollectionMetadataTimeline<T>[]

    The new collection metadata timeline. Must have the necessary permissions in future transactions to update. However, no restrictions in this genesis Msg.

    collectionPermissions?: CollectionPermissions<T>

    The new collection permissions. Must have the necessary permissions in future transactions to update. However, no restrictions in this genesis Msg.

    cosmosCoinWrapperPathsToAdd?: CosmosCoinWrapperPathAddObject<T>[]

    The IBC wrapper paths to add.

    creator: string

    The creator of the transaction.

    customDataTimeline?: CustomDataTimeline<T>[]

    The new custom data timeline. Must have the necessary permissions in future transactions to update. However, no restrictions in this genesis Msg.

    isArchivedTimeline?: IsArchivedTimeline<T>[]

    The new is archived timeline. Must have the necessary permissions in future transactions to update. However, no restrictions in this genesis Msg.

    managerTimeline?: ManagerTimeline<T>[]

    The new manager timeline. Must have the necessary permissions in future transactions to update. However, no restrictions in this genesis Msg.

    mintEscrowCoinsToTransfer?: CosmosCoin<T>[]

    The coins to mint to the transfer address. Only used if collection has "Non-Public" balance type.

    standardsTimeline?: StandardsTimeline<T>[]

    The new standards timeline. Must have the necessary permissions in future transactions to update. However, no restrictions in this genesis Msg.

    tokenMetadataTimeline?: TokenMetadataTimeline<T>[]

    The new token metadata timeline. Must have the necessary permissions in future transactions to update. However, no restrictions in this genesis Msg. Note we take first-match only for token IDs, so do not define duplicates.

    updateCollectionApprovals?: boolean

    Whether or not to update the collection approved transfers timeline.

    updateCollectionMetadataTimeline?: boolean

    Whether or not to update the collection metadata timeline.

    updateCollectionPermissions?: boolean

    Whether or not to update the collection permissions.

    updateCustomDataTimeline?: boolean

    Whether or not to update the custom data timeline.

    updateIsArchivedTimeline?: boolean

    Whether or not to update the is archived timeline.

    updateManagerTimeline?: boolean

    Whether or not to update the manager timeline.

    updateStandardsTimeline?: boolean

    Whether or not to update the standards timeline.

    updateTokenMetadataTimeline?: boolean

    Whether or not to update the token metadata timeline.

    updateValidTokenIds?: boolean

    Whether or not to update the valid token IDs.

    validTokenIds?: UintRangeArray<T>

    The tokens to create. Newly created tokens will be sent to the "Mint" address. Must have necessary permissions in future transactions to update. However, no restrictions in this genesis Msg. Only used if collection has "Standard" balance type.

    Methods