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

    Interface iCollectionInvariants<T>

    CollectionInvariants defines the invariants that apply to a collection. These are set upon genesis and cannot be modified.

    interface iCollectionInvariants<T extends NumberType> {
        cosmosCoinBackedPath?: iCosmosCoinBackedPath<T>;
        disablePoolCreation: boolean;
        maxSupplyPerId: T;
        noCustomOwnershipTimes: boolean;
        noForcefulPostMintTransfers: boolean;
    }

    Type Parameters

    Implemented by

    Index

    Properties

    cosmosCoinBackedPath?: iCosmosCoinBackedPath<T>

    The IBC backed (sdk.coin) path for the collection. Only one path is allowed.

    disablePoolCreation: boolean

    If true, disallows pool creation with this collection's assets. When true, any attempt to create a pool with badges assets from this collection will fail.

    maxSupplyPerId: T

    Maximum supply per token ID. If set, no balance can exceed this amount. This prevents any single token ID from having more than the specified supply.

    noCustomOwnershipTimes: boolean

    If true, all ownership times must be full ranges [{ start: 1, end: GoMaxUInt64 }]. This prevents time-based restrictions on token ownership.

    noForcefulPostMintTransfers: boolean

    If true, disallows any collection approvals that have overridesFromOutgoingApprovals or overridesToIncomingApprovals set to true. This prevents forceful post-mint transfers that bypass user-level approvals.