File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
proto/bitsong/nft/v1beta1 Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ message Collection {
16
16
string uri = 5 ;
17
17
18
18
string creator = 6 ;
19
- string minter = 7 ;
20
- uint64 num_tokens = 8 ;
21
- // bool is_mutable
22
- // update_autority (who can update name, description and uri if is_mutable = true)
19
+ string minter = 7 ; // who can mint new nfts, if not set no one can mint
20
+ string authority = 8 ; // who can update name, description and uri, if not set no one can update
21
+
22
+ uint64 num_tokens = 9 ;
23
23
}
24
24
25
25
message Nft {
@@ -33,14 +33,14 @@ message Nft {
33
33
string uri = 5 ;
34
34
35
35
string owner = 6 ;
36
+ string authority = 7 ; // who can update name, description and uri, if not set no one can update
36
37
37
38
// TODO: add max_editions
38
- uint64 editions = 7 ; // number of printed editions
39
+ // uint64 max_editions = 8; // max number of printed editions, 0 means no limit
40
+ uint64 editions = 8 ; // number of printed editions
39
41
40
42
// seller_fee_bps
41
43
// payment_address
42
- // bool is_mutable
43
- // update_autority (who can update name, description and uri if is_mutable = true)
44
44
}
45
45
46
46
message Edition {
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ service Query {
39
39
40
40
// Edition returns a specific edition of an nft
41
41
// OwnerOfEdition returns the owner of a specific edition
42
- // NumEditions returns the total number of editions
43
42
// NftEditions returns all editions of a specific nft
44
43
// AllNftEditionsByOwner returns all nft editions owned by the owner
45
44
}
You can’t perform that action at this time.
0 commit comments