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

    Class MaxNumTransfers<T>

    MaxNumTransfers represents the maximum number of transfers for the token IDs and ownershipTimes of this approval.

    Can be set to 0 to represent an unlimited number of transfers. If set to non-zero value, we track the running tally of the number of transfers for each token ID / ownership time. Once it reaches the max, no more transfers are allowed.

    Note that we only track the max num transfers if a) the max num transfers here is defined and not unlimited OR b) we need it for calculating the predetermined balances order (i.e. useXYZNumTransfers is set in the PredeterminedOrderCalculationMethod). Otherwise, we do not track the respective number of transfers

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    amountTrackerId: string

    The ID of the approval tracker. This is the key used to track tallies.

    overallMaxNumTransfers: T

    The overall maximum number of transfers for the tokenIDs and ownershipTimes. Running tally that includes all transfers that match this approval.

    perFromAddressMaxNumTransfers: T

    The maximum number of transfers for the tokenIDs and ownershipTimes for each from address. Running tally that includes all transfers from each unique from address that match this approval.

    perInitiatedByAddressMaxNumTransfers: T

    The maximum number of transfers for the tokenIDs and ownershipTimes for each initiated by address. Running tally that includes all transfers from each unique initiated by address that match this approval.

    perToAddressMaxNumTransfers: T

    The maximum number of transfers for the tokenIDs and ownershipTimes for each to address. Running tally that includes all transfers from each unique to address that match this approval.

    resetTimeIntervals: ResetTimeIntervals<T>

    The time intervals to reset the tracker at.

    Methods