-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔀 Merge #92 ✨ Add authorizations for iscn and likenft
- Loading branch information
Showing
31 changed files
with
5,688 additions
and
22 deletions.
There are no files selected for viewing
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
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
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
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
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,14 @@ | ||
syntax = "proto3"; | ||
|
||
package likechain.iscn; | ||
|
||
import "cosmos_proto/cosmos.proto"; | ||
import "gogoproto/gogo.proto"; | ||
|
||
option go_package = "github.com/likecoin/likecoin-chain/v3/x/iscn/types"; | ||
|
||
message UpdateAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string iscn_id_prefix = 1; | ||
} |
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,92 @@ | ||
syntax = "proto3"; | ||
|
||
package likechain.likenft.v1; | ||
|
||
import "cosmos_proto/cosmos.proto"; | ||
|
||
option go_package = "github.com/likecoin/likecoin-chain/v3/x/likenft/types"; | ||
|
||
message CreateRoyaltyConfigAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
} | ||
|
||
message UpdateRoyaltyConfigAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
} | ||
|
||
message DeleteRoyaltyConfigAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
} | ||
|
||
message CreateListingAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
string nft_id = 2; | ||
} | ||
|
||
message UpdateListingAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
string nft_id = 2; | ||
} | ||
|
||
message DeleteListingAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
string nft_id = 2; | ||
} | ||
|
||
message CreateOfferAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
string nft_id = 2; | ||
} | ||
|
||
message UpdateOfferAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
string nft_id = 2; | ||
} | ||
|
||
message DeleteOfferAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
string nft_id = 2; | ||
} | ||
|
||
message NewClassAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string iscn_id_prefix = 1; | ||
} | ||
|
||
message UpdateClassAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
} | ||
|
||
message MintNFTAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
} | ||
|
||
message SendNFTAuthorization { | ||
option (cosmos_proto.implements_interface) = "Authorization"; | ||
|
||
string class_id = 1; | ||
string id = 2; | ||
} |
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
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
Oops, something went wrong.