Class TierWithOptionalWeight<T>

Type Parameters

Hierarchy (view full)

Implements

Constructors

Properties

claimId: string

The claim ID to satisfy the tier

pointsCalculationMethod?: string

The calculation method to use for this tier. This is used for calculating the tier weight.

By default, we check if the user has met the criteria for non-indexed and for indexed, we check claimed successfully at least one time.

uncheckable?: boolean

Uncheckable? If so, we will not display success or failure for this tier.

We will just display the claim criteria and metadata.

weight?: T

The weight of the tier

Methods

  • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

    If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

    Type Parameters

    Parameters

    • other: undefined | null | CustomType<U>
    • OptionalnormalizeNumberTypes: boolean

    Returns boolean

""