Transfer defines the details of a transfer of badges.

from message badges.Transfer

Hierarchy

Constructors

Properties

balances: proto.badges.Balance[] = []

The balances to be transferred.

from field: repeated badges.Balance balances = 3;

from: string = ""

The address of the sender of the transfer.

from field: string from = 1;

memo: string = ""

The memo for the transfer.

from field: string memo = 6;

merkleProofs: proto.badges.MerkleProof[] = []

The Merkle proofs / solutions for all Merkle challenges required for the transfer.

from field: repeated badges.MerkleProof merkleProofs = 5;

onlyCheckPrioritizedCollectionApprovals: boolean = false

Whether to only check prioritized approvals for the transfer. If true, we will only check the prioritized approvals and fail if none of them match (i.e. do not check any non-prioritized approvals). If false, we will check the prioritized approvals first and then scan through the rest of the approvals.

from field: bool onlyCheckPrioritizedCollectionApprovals = 8;

onlyCheckPrioritizedIncomingApprovals: boolean = false

Whether to only check prioritized approvals for the transfer. If true, we will only check the prioritized approvals and fail if none of them match (i.e. do not check any non-prioritized approvals). If false, we will check the prioritized approvals first and then scan through the rest of the approvals.

from field: bool onlyCheckPrioritizedIncomingApprovals = 9;

onlyCheckPrioritizedOutgoingApprovals: boolean = false

Whether to only check prioritized approvals for the transfer. If true, we will only check the prioritized approvals and fail if none of them match (i.e. do not check any non-prioritized approvals). If false, we will check the prioritized approvals first and then scan through the rest of the approvals.

from field: bool onlyCheckPrioritizedOutgoingApprovals = 10;

precalculateBalancesFromApproval?: proto.badges.ApprovalIdentifierDetails

If defined, we will use the predeterminedBalances from the specified approval to calculate the balances at execution time. We will override the balances field with the precalculated balances. Only applicable for approvals with predeterminedBalances set.

from field: badges.ApprovalIdentifierDetails precalculateBalancesFromApproval = 4;

prioritizedApprovals: proto.badges.ApprovalIdentifierDetails[] = []

The prioritized approvals for the transfer. By default, we scan linearly through the approvals and use the first match. This field can be used to prioritize specific approvals and scan through them first.

from field: repeated badges.ApprovalIdentifierDetails prioritizedApprovals = 7;

toAddresses: string[] = []

The addresses of the recipients of the transfer.

from field: repeated string toAddresses = 2;

zkProofSolutions: proto.badges.ZkProofSolution[] = []

The ZKPs that need to be solved for approval.

from field: repeated badges.ZkProofSolution zkProofSolutions = 11;

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

Methods