Authz
The authz
module is responsible for the authorization for accounts to perform actions on behalf of other accounts and enables a granter to grant authorizations to a grantee that allows the grantee to execute messages on behalf of the granter. Authorizations must be granted for a particular Msg service method one by one using an implementation of the Authorization interface.
For more information, visit https://docs.cosmos.network/main/modules/authz/
Message Types
Msg
defines the authz
Msg service.
MsgGrant
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
MsgGrantResponse
defines the Msg/MsgGrant
response type.
MsgExec
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.
MsgExecResponse
MsgExecResponse
defines the Msg/MsgExecResponse
response type.
MsgRevoke
MsgRevoke
revokes any authorization with the provided sdk.Msg type on the granter’s account with that has been granted to the grantee.
MsgRevokeResponse
MsgRevokeResponse
defines the Msg/MsgRevokeResponse
response type.
Queries
Query defines the gRPC querier service.
QueryGrantsRequest
QueryGrantsRequest
is the request type for the Query/Grants
RPC method.
QueryGrantsResponse
QueryGrantsResponse
is the response type for the Query/Authorizations
RPC method.
QueryGranterGrantsRequest
QueryGranterGrantsRequest
is the request type for the Query/GranterGrants
RPC method.
QueryGranterGrantsResponse
QueryGranterGrantsResponse
is the response type for the Query/GranterGrants
RPC method.
QueryGranteeGrantsRequest
QueryGranteeGrantsRequest
is the request type for the Query/IssuedGrants
RPC method.
QueryGranteeGrantsResponse
QueryGranteeGrantsResponse
is the response type for the Query/GranteeGrants RPC method.