Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the authz Msg service.
Grant grants the provided authorization to the grantee on the granter's account with the provided expiration time. If there is already a grant for the given (granter, grantee, Authorization) triple, then the grant will be overwritten.
MsgGrant is a request type for Grant method. It declares authorization to the grantee on behalf of the granter with the provided expiration time.
MsgGrantResponse defines the Msg/MsgGrant response type.
(message has no fields)
Exec attempts to execute the provided messages using authorizations granted to the grantee. Each message should have only one signer corresponding to the granter of the authorization.
MsgExec attempts to execute the provided messages using authorizations granted to the grantee. Each message should have only one signer corresponding to the granter of the authorization.
Execute Msg. The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) triple and validate it.
MsgExecResponse defines the Msg/MsgExecResponse response type.
Revoke revokes any authorization corresponding to the provided method name on the granter's account that has been granted to the grantee.
MsgRevoke revokes any authorization with the provided sdk.Msg type on the granter's account with that has been granted to the grantee.
MsgRevokeResponse defines the Msg/MsgRevokeResponse response type.
(message has no fields)
Query defines the gRPC querier service.
Returns list of `Authorization`, granted to the grantee by the granter.
QueryGrantsRequest is the request type for the Query/Grants RPC method.
Optional, msg_type_url, when set, will query only grants matching given msg type.
pagination defines an pagination for the request.
QueryGrantsResponse is the response type for the Query/Authorizations RPC method.
authorizations is a list of grants granted for grantee by granter.
pagination defines an pagination for the response.
GranterGrants returns list of `GrantAuthorization`, granted by granter. Since: cosmos-sdk 0.46
QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method.
pagination defines an pagination for the request.
QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method.
grants is a list of grants granted by the granter.
pagination defines an pagination for the response.
GranteeGrants returns a list of `GrantAuthorization` by grantee. Since: cosmos-sdk 0.46
QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method.
pagination defines an pagination for the request.
QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method.
grants is a list of grants granted to the grantee.
pagination defines an pagination for the response.
EventGrant is emitted on Msg/Grant
Msg type URL for which an autorization is granted
Granter account address
Grantee account address
EventRevoke is emitted on Msg/Revoke
Msg type URL for which an autorization is revoked
Granter account address
Grantee account address
GenericAuthorization gives the grantee unrestricted permissions to execute the provided method on behalf of the granter's account.
Msg, identified by it's type URL, to grant unrestricted permissions to execute
GenesisState defines the authz module's genesis state.
Grant gives permissions to execute the provide method with expiration time.
Used in:
,time when the grant will expire and will be pruned. If null, then the grant doesn't have a time expiration (other conditions in `authorization` may apply to invalidate the grant)
GrantAuthorization extends a grant with both the addresses of the grantee and granter. It is used in genesis.proto and query.proto
Used in:
, ,GrantQueueItem contains the list of TypeURL of a sdk.Msg.
msg_type_urls contains the list of TypeURL of a sdk.Msg.