An AddressList is a list of addresses that are referenced by an ID. The list may include only the specified addresses, or it may include all addresses but the specified addresses (depending on if whitelist is true (whitelist) or false (blacklist)).

AddressLists are used for defining approvals, as well as being a simplified badge interface.

from message badges.AddressList

Hierarchy

Constructors

Properties

addresses: string[] = []

List of addresses included in the list.

from field: repeated string addresses = 2;

aliasAddress: string = ""

The alias BitBadges address for the list.

from field: string aliasAddress = 7;

createdBy: string = ""

The user or entity who created the address list.

from field: string createdBy = 6;

customData: string = ""

Custom arbitrary data or additional information related to the address list.

from field: string customData = 5;

listId: string = ""

Unique identifier for the address list.

from field: string listId = 1;

uri: string = ""

URI (Uniform Resource Identifier) associated with the address list to provide metadata, if applicable.

from field: string uri = 4;

whitelist: boolean = false

Indicates whether the list includes the specified addresses (true) or excludes them (false).

from field: bool whitelist = 3;

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

Methods