-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: metadata protobuf
- Loading branch information
Ignazio Bovo
committed
Sep 7, 2023
1 parent
6ab18b5
commit 558b584
Showing
8 changed files
with
5,312 additions
and
1,926 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
syntax = "proto2"; | ||
message CreatorTokenIssuerRemarked { | ||
oneof creator_token_issuer_remarked { | ||
UpdateTokenMetadata update_token_metadata = 1; | ||
} | ||
} | ||
|
||
message UpdateTokenMetadata { | ||
optional TokenMetadata new_metadata = 1; | ||
} | ||
|
||
message TokenMetadata { | ||
optional string name = 1; // Title | ||
optional string description = 2; // token description | ||
oneof avatar { | ||
uint32 avatar_object = 3; // avatar for token - index into external [assets array](#.Assets) | ||
string avatar_uri = 4; // Url to member's avatar | ||
} | ||
repeated Benefit benefits = 5; // benefits for tokne | ||
optional string whitelist_application_note = 6; // note for applicant | ||
optional string whitelist_application_apply_link = 7; // link to application process | ||
optional uint64 trailer_video_id = 8; // runtime id for video trailer | ||
} | ||
|
||
message Benefit { | ||
optional string title = 1; | ||
optional string description = 2; | ||
optional string emoji = 3; | ||
optional uint32 display_order = 4; | ||
} | ||
|
||
message SaleMetadata { | ||
optional string terms_and_conditions = 1; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.