bitbadgesjs-sdk - v0.27.2
    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

    aliasPathsToAdd?: AliasPathAddObject<T>[]

    The alias (non-wrapping) paths to add.

    collectionApprovals?: CollectionApproval<T>[]

    The new collection approved transfers. 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.

    collectionMetadata?: CollectionMetadata

    The new collection metadata. 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.

    customData?: string

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

    invariants?: InvariantsAddObject<T>

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

    isArchived?: boolean

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

    manager?: string

    The new manager. 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.

    standards?: string[]

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

    tokenMetadata?: TokenMetadata<T>[]

    The new token metadata. 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.

    updateCollectionMetadata?: boolean

    Whether or not to update the collection metadata.

    updateCollectionPermissions?: boolean

    Whether or not to update the collection permissions.

    updateCustomData?: boolean

    Whether or not to update the custom data.

    updateIsArchived?: boolean

    Whether or not to update the is archived flag.

    updateManager?: boolean

    Whether or not to update the manager.

    updateStandards?: boolean

    Whether or not to update the standards.

    updateTokenMetadata?: boolean

    Whether or not to update the token metadata.

    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