MaxNumTransfers defines the maximum number of transfers per unique "from," "to," and/or "initiated by" address. If any of these are nil or "0", we assume unlimited approvals. If they are set to a value, then the running tally of the number of transfers for the specified badge IDs and ownership times must not exceed the corresponding value.

from message badges.MaxNumTransfers

Hierarchy

Constructors

Properties

amountTrackerId: string = ""

The ID of the amount tracker associated with this approval. We use this ID to track the number of transfers and amounts transferred.

from field: string amountTrackerId = 6;

overallMaxNumTransfers: string = ""

Overall maximum number of transfers.

from field: string overallMaxNumTransfers = 1;

perFromAddressMaxNumTransfers: string = ""

Maximum number of transfers per "from" address.

from field: string perFromAddressMaxNumTransfers = 3;

perInitiatedByAddressMaxNumTransfers: string = ""

Maximum number of transfers per "initiated by" address.

from field: string perInitiatedByAddressMaxNumTransfers = 4;

perToAddressMaxNumTransfers: string = ""

Maximum number of transfers per "to" address.

from field: string perToAddressMaxNumTransfers = 2;

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

Methods