Class IncomingApprovalCriteriaWithDetails<T>

Type Parameters

Hierarchy (view full)

Implements

Constructors

Properties

approvalAmounts?: ApprovalAmounts<T>

The maximum approved amounts for this approval.

coinTransfers?: CoinTransfer<T>[]

The $BADGE transfers to be executed upon every approval.

maxNumTransfers?: MaxNumTransfers<T>

The max num transfers for this approval.

merkleChallenges?: MerkleChallengeWithDetails<T>[]

The list of merkle challenges that need valid proofs to be approved.

mustOwnBadges?: MustOwnBadges<T>[]

The list of must own badges to be approved.

predeterminedBalances?: PredeterminedBalances<T>

The predetermined balances for each transfer using this approval.

requireFromDoesNotEqualInitiatedBy?: boolean

Whether the from address must not equal the initiatedBy address.

requireFromEqualsInitiatedBy?: boolean

Whether the from address must equal the initiatedBy address.

zkProofs?: ZkProof[]

The list of ZK proofs that need to be satisfied. One use per proof solution.

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