Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
0Tech committed Feb 3, 2023
1 parent 1b522df commit 046dc94
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions proto/lbm/collection/v1/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ message EventCreatedNFTClass {
// address which triggered the create.
string operator = 2;
// token type associated with the token class.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 3;
// name of the token class.
string name = 4;
Expand Down Expand Up @@ -259,7 +259,7 @@ message EventModifiedTokenClass {
// address which triggered the modify.
string operator = 2;
// token type associated with the token class.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 3;
// changes of the attributes applied.
// possible attribute keys are same as those of MsgModify.
Expand Down
10 changes: 5 additions & 5 deletions proto/lbm/collection/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ message QueryNFTSupplyRequest {
// contract id associated with the contract.
string contract_id = 1;
// token type associated with the token type.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 2;
}

Expand All @@ -215,7 +215,7 @@ message QueryNFTMintedRequest {
// contract id associated with the contract.
string contract_id = 1;
// token type associated with the token type.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 2;
}

Expand All @@ -230,7 +230,7 @@ message QueryNFTBurntRequest {
// contract id associated with the contract.
string contract_id = 1;
// token type associated with the token type.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 2;
}

Expand Down Expand Up @@ -275,7 +275,7 @@ message QueryTokenTypeRequest {
// contract id associated with the contract.
string contract_id = 1;
// token type associated with the token type.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 2;
}

Expand Down Expand Up @@ -322,7 +322,7 @@ message QueryTokensWithTokenTypeRequest {
// contract id associated with the contract.
string contract_id = 1;
// token type associated with the token type.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 2;

// pagination defines an optional pagination for the request.
Expand Down
6 changes: 3 additions & 3 deletions proto/lbm/collection/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ message MsgIssueNFT {
// MsgIssueNFTResponse is the Msg/IssueNFT response type.
message MsgIssueNFTResponse {
// id of the new token type.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 1;
}

Expand Down Expand Up @@ -375,7 +375,7 @@ message MsgMintNFTResponse {
message MintNFTParam {
// token type or class id of the nft.
// Note: it cannot start with zero.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 1;
// name defines the human-readable name of the nft (mandatory).
// Note: it has an app-specific limit in length.
Expand Down Expand Up @@ -458,7 +458,7 @@ message MsgModify {
// the address of the grantee which must have modify permission.
string owner = 2;
// token type of the token.
// Refer: TokenType
// refer to TokenType for the definition.
string token_type = 3;
// token index of the token.
// if index is empty, it would modify the corresponding token type.
Expand Down

0 comments on commit 046dc94

Please sign in to comment.