IncomingApprovalCriteria defines the criteria for approving incoming transfers.

from message badges.IncomingApprovalCriteria

Hierarchy

Constructors

Properties

approvalAmounts?: proto.badges.ApprovalAmounts

Threshold limit of amounts that can be transferred using this approval.

from field: badges.ApprovalAmounts approvalAmounts = 4;

coinTransfers: proto.badges.CoinTransfer[] = []

The sdk.Coins that need to be transferred for approval.

from field: repeated badges.CoinTransfer coinTransfers = 7;

maxNumTransfers?: proto.badges.MaxNumTransfers

Maximum number of transfers that can be processed using this approval.

from field: badges.MaxNumTransfers maxNumTransfers = 5;

merkleChallenges: proto.badges.MerkleChallenge[] = []

Merkle challenge that must be satisfied for approval.

from field: repeated badges.MerkleChallenge merkleChallenges = 2;

mustOwnBadges: proto.badges.MustOwnBadges[] = []

List of badges that the user must own for approval.

from field: repeated badges.MustOwnBadges mustOwnBadges = 1;

predeterminedBalances?: proto.badges.PredeterminedBalances

Predetermined balances for eeach approval.

from field: badges.PredeterminedBalances predeterminedBalances = 3;

requireFromDoesNotEqualInitiatedBy: boolean = false

Require the "from" address to not be equal to the "initiated by" address for approval.

from field: bool requireFromDoesNotEqualInitiatedBy = 12;

requireFromEqualsInitiatedBy: boolean = false

Require the "from" address to be equal to the "initiated by" address for approval.

from field: bool requireFromEqualsInitiatedBy = 10;

zkProofs: proto.badges.ZkProof[] = []

The ZKPs that need to be solved for approval.

from field: repeated badges.ZkProof zkProofs = 6;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "badges.IncomingApprovalCriteria" = "badges.IncomingApprovalCriteria"

Methods