docs: add caveat description

This commit is contained in:
Prad Nukala
2024-10-28 10:12:05 -04:00
parent b1422bc97e
commit bbfd3e5171
11 changed files with 212 additions and 152 deletions
+1
View File
@@ -54,6 +54,7 @@ message Caveats {
repeated Caveat supported_third_party = 2;
}
// Caveat defines the caveat
message Caveat {
repeated string scopes = 1;
string caveat = 2;
+2
View File
@@ -7,6 +7,7 @@ option go_package = "github.com/onsonr/sonr/x/macaroon/types";
// https://github.com/cosmos/cosmos-sdk/blob/main/orm/README.md
// Grant is a Grant message type.
message Grant {
option (cosmos.orm.v1.table) = {
id : 1
@@ -21,6 +22,7 @@ message Grant {
int64 expiry_height = 5;
}
// Macaroon is a Macaroon message type.
message Macaroon {
option (cosmos.orm.v1.table) = {
id : 2
-2
View File
@@ -13,8 +13,6 @@ service Msg {
option (cosmos.msg.v1.service) = true;
// UpdateParams defines a governance operation for updating the parameters.
//
// Since: cosmos-sdk 0.47
rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse);
// IssueMacaroon asserts the given controller is the owner of the given