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

    Class ApprovalCriteriaWithDetails<T>

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    altTimeChecks?: AltTimeChecks<T>

    Alternative time-based checks for approval denial (offline hours/days).

    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.

    initiatorChecks?: AddressChecks

    Address checks for initiator

    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.

    mustPrioritize?: boolean

    If true, this approval must be explicitly prioritized in PrioritizedApprovals to be used.

    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.

    recipientChecks?: AddressChecks

    Address checks for recipient

    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.

    senderChecks?: AddressChecks

    Address checks for sender

    userRoyalties?: UserRoyalties<T>

    The royalties to apply to the transfer.

    votingChallenges?: VotingChallenge<T>[]

    The list of voting challenges that must be satisfied for approval.

    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