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

    Class ApprovalCriteriaWithDetails<T>

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    approvalAmounts?: ApprovalAmounts<T>

    The maximum approved amounts for this approval.

    autoDeletionOptions?: AutoDeletionOptions<T>

    Whether the approval should be deleted after one use.

    coinTransfers?: CoinTransfer<T>[]

    The BADGE or sdk.coin transfers to be executed upon every approval.

    dynamicStoreChallenges?: DynamicStoreChallenge<T>[]

    The list of dynamic store challenges that the initiator must pass for approval.

    ethSignatureChallenges?: ETHSignatureChallenge[]

    The list of ETH signature challenges that the initiator must pass for 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.

    mustOwnTokens?: MustOwnTokens<T>[]

    The list of must own tokens that need valid proofs to be approved.

    overridesFromOutgoingApprovals?: boolean

    Whether this approval overrides the from address's approved outgoing transfers.

    overridesToIncomingApprovals?: boolean

    Whether this approval overrides the to address's approved incoming transfers.

    predeterminedBalances?: PredeterminedBalances<T>

    The predetermined balances for each transfer. These allow approvals to use predetermined balance amounts rather than an incrementing tally system.

    requireFromDoesNotEqualInitiatedBy?: boolean

    Whether the from address must not equal the initiatedBy address.

    requireFromEqualsInitiatedBy?: boolean

    Whether the from address must equal the initiatedBy address.

    requireToDoesNotEqualInitiatedBy?: boolean

    Whether the to address must not equal the initiatedBy address.

    requireToEqualsInitiatedBy?: boolean

    Whether the to address must equal the initiatedBy address.

    userRoyalties?: UserRoyalties<T>

    The royalties to apply to the transfer.

    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