Class OutgoingApprovalCriteriaWithDetails<T>

Type Parameters

Hierarchy (view full)




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.

requireToDoesNotEqualInitiatedBy?: boolean

Whether the to address must not equal the initiatedBy address.

requireToEqualsInitiatedBy?: boolean

Whether the to address must equal the initiatedBy address.

zkProofs?: ZkProof[]

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


  • 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


    • other: undefined | null | CustomType<U>
    • Optional normalizeNumberTypes: boolean

    Returns boolean