OutgoingApprovalCriteria defines the criteria for approving outgoing transfers.

from message badges.OutgoingApprovalCriteria

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;

requireToDoesNotEqualInitiatedBy: boolean = false

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

from field: bool requireToDoesNotEqualInitiatedBy = 11;

requireToEqualsInitiatedBy: boolean = false

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

from field: bool requireToEqualsInitiatedBy = 9;

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.OutgoingApprovalCriteria" = "badges.OutgoingApprovalCriteria"

Methods