package
0.0.0-20220620005849-a315113d9162
Repository: https://github.com/mycodeku/transtionhelper.git
Documentation: pkg.go.dev

# README

Authz

  • Authz - Authorization for accounts to perform actions on behalf of other accounts.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

DefaultGenesisState - Return a default genesis state.
MsgServiceDesc return ServiceDesc for Msg server.
NewGenericAuthorization creates a new GenericAuthorization object.
NewGenesisState creates new GenesisState object.
NewGrant returns new Grant.
No description provided by the author
NewMsgExec creates a new MsgExecAuthorizednolint:interfacer.
NewMsgGrant creates a new MsgGrantnolint:interfacer.
NewMsgRevoke creates a new MsgRevokenolint:interfacer.
No description provided by the author
RegisterInterfaces registers the interfaces types with the interface registry.
RegisterLegacyAminoCodec registers the necessary x/authz interfaces and concrete types on the provided LegacyAmino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
ValidateGenesis check the given genesis state has no integrity issues.

# Constants

ModuleName is the module name constant used in many places.
QuerierRoute is the querier route for authz.
RouterKey is the message route for authz.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
x/authz module sentinel errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AcceptResponse instruments the controller of an authz message if the request is accepted and if it should be updated or deleted.
EventGrant is emitted on Msg/Grant.
EventRevoke is emitted on Msg/Revoke.
GenericAuthorization gives the grantee unrestricted permissions to execute the provided method on behalf of the granter's account.
GenesisState defines the authz module's genesis state.
Grant gives permissions to execute the provide method with expiration time.
GrantAuthorization extends a grant with both the addresses of the grantee and granter.
GrantQueueItem contains the list of TypeURL of a sdk.Msg.
MsgExec attempts to execute the provided messages using authorizations granted to the grantee.
MsgExecResponse defines the Msg/MsgExecResponse response type.
MsgGrant is a request type for Grant method.
MsgGrantResponse defines the Msg/MsgGrant response type.
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.
QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method.
QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method.
QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method.
QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method.
QueryGrantsRequest is the request type for the Query/Grants RPC method.
QueryGrantsResponse is the response type for the Query/Authorizations RPC method.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.

# Interfaces

AccountKeeper defines the expected account keeper (noalias).
Authorization represents the interface of various Authorization types implemented by other modules.
BankKeeper defines the expected interface needed to retrieve account balances.
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.