Module authz
Expand description
Granting of arbitrary privileges from one account to another.
Modules§
- msg_
client - Generated client implementations.
- msg_
server - Generated server implementations.
- query_
client - Generated client implementations.
- query_
server - Generated server implementations.
Structs§
- Event
Grant - EventGrant is emitted on Msg/Grant
- Event
Revoke - EventRevoke is emitted on Msg/Revoke
- Generic
Authorization - GenericAuthorization gives the grantee unrestricted permissions to execute the provided method on behalf of the granter’s account.
- Genesis
State - GenesisState defines the authz module’s genesis state.
- Grant
- Grant gives permissions to execute the provide method with expiration time.
- Grant
Authorization - GrantAuthorization extends a grant with both the addresses of the grantee and granter. It is used in genesis.proto and query.proto
- Grant
Queue Item - GrantQueueItem contains the list of TypeURL of a sdk.Msg.
- 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.
- MsgExec
Response - MsgExecResponse defines the Msg/MsgExecResponse response type.
- 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.
- MsgGrant
Response - MsgGrantResponse defines the Msg/MsgGrant 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.
- MsgRevoke
Response - MsgRevokeResponse defines the Msg/MsgRevokeResponse response type.
- Query
Grantee Grants Request - QueryGranteeGrantsRequest is the request type for the Query/GranteeGrants RPC method.
- Query
Grantee Grants Response - QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method.
- Query
Granter Grants Request - QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method.
- Query
Granter Grants Response - QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method.
- Query
Grants Request - QueryGrantsRequest is the request type for the Query/Grants RPC method.
- Query
Grants Response - QueryGrantsResponse is the response type for the Query/Authorizations RPC method.