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

    Class MsgCreateCollection<T>

    MsgCreateCollection is a transaction that can be used to create a collection.

    Upon initial creation, you can set the default approved outgoing transfers, default approved incoming transfers, default user permissions, and balances type. However, after that, they are final and ignored in subsequent MsgCreateCollection calls.

    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.

    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.

    defaultBalances?: UserBalanceStore<T>

    The default balances for users who have not interacted with the collection yet. Only can be set on initial creation. Only used if collection has "Standard" balance type.

    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.

    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