Skip to content

Commit

Permalink
fix: add video trailer id
Browse files Browse the repository at this point in the history
fix: metadata protobuf
  • Loading branch information
Ignazio Bovo committed Sep 7, 2023
1 parent 6ab18b5 commit 558b584
Show file tree
Hide file tree
Showing 8 changed files with 5,312 additions and 1,926 deletions.
6 changes: 5 additions & 1 deletion chain-metadata.json

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions metadata-protobuf/proto/Token.proto
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;
}
2 changes: 1 addition & 1 deletion query-node/chain-metadata/2002.json

Large diffs are not rendered by default.

1,365 changes: 822 additions & 543 deletions types/src/augment/augment-api-events.ts

Large diffs are not rendered by default.

444 changes: 442 additions & 2 deletions types/src/augment/augment-api-tx.ts

Large diffs are not rendered by default.

Loading

0 comments on commit 558b584

Please sign in to comment.