mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
docs: add caveat description
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user