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

    Class ApprovalAmounts<T>

    ApprovalAmounts represents the maximum approved amounts for the token IDs / ownership times of this approval. Can be set to 0 to represent an unlimited amount is approved. If set to non-zero value, we track the running tally of the amount approved for each token ID / ownership time. Once it reaches the max, no more transfers are allowed.

    Note that we only track the approval amounts if the approval is defined and not unlimited. If it is unlimited, we do not tally.

    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.

    overallApprovalAmount: T

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

    perFromAddressApprovalAmount: T

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

    perInitiatedByAddressApprovalAmount: T

    The maximum amount approved 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.

    perToAddressApprovalAmount: T

    The maximum amount approved 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