Metadata
https://github.com/BitBadges/bitbadgeschain/blob/master/proto/badges/metadata.proto
syntax = "proto3";
package badges;
import "google/protobuf/any.proto";
import "badges/balances.proto";
import "gogoproto/gogo.proto";
option go_package = "github.com/bitbadges/bitbadgeschain/x/badges/types";
/*
This message defines the metadata for specific token IDs.
The interpretation of this metadata should follow the collection standard.
*/
message BadgeMetadata {
// The URI (Uniform Resource Identifier) associated with the token metadata.
string uri = 1;
// Custom data or additional information related to the token metadata.
string customData = 2;
// The token IDs to which this metadata applies.
repeated UintRange badgeIds = 3;
}
/*
This message defines the metadata for the collection.
The interpretation of this metadata should follow the collection standard.
*/
message CollectionMetadata {
// The URI (Uniform Resource Identifier) associated with the collection metadata.
string uri = 1;
// Custom data or additional information related to the collection metadata.
string customData = 2;
}
/*
This message defines the metadata for off-chain balances (if using an off-chain balances type).
The interpretation of this metadata should follow the collection standard.
*/
message OffChainBalancesMetadata {
// The URI (Uniform Resource Identifier) associated with the off-chain balances metadata.
string uri = 1;
// Custom data or additional information related to the off-chain balances metadata.
string customData = 2;
}
Last updated