Address Lists
https://github.com/BitBadges/bitbadgeschain/blob/master/proto/badges/address_lists.proto
syntax = "proto3";
package badges;
import "gogoproto/gogo.proto";
import "badges/balances.proto";
// this line is used by starport scaffolding # proto/tx/import
option go_package = "github.com/bitbadges/bitbadgeschain/x/badges/types";
/*
An AddressList is a list of addresses that are referenced by an ID.
AddressLists are used in defining approvals ia a reusbale identifier.
Note: We also support a reserved ID system by string ID; "Mint", "!Mint"
*/
message AddressList {
// Unique identifier for the address list.
string listId = 1;
// List of addresses included in the list.
repeated string addresses = 2;
// Indicates whether the list includes the specified addresses (true) or excludes them (false).
bool whitelist = 3;
// URI (Uniform Resource Identifier) associated with the address list to provide metadata, if applicable.
string uri = 4;
// Custom arbitrary data or additional information related to the address list.
string customData = 5;
// The user or entity who created the address list.
string createdBy = 6;
}
Last updated