Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(keeper keeper.Keeper, authzKeeper AuthzKeeper, bkeeper BankKeeper) baseapp.MsgServiceHandler
NewHandler returns a handler for "deployment" type messages
func NewServer ¶
func NewServer(k keeper.Keeper, authzKeeper AuthzKeeper, bkeeper BankKeeper) types.MsgServer
NewServer returns an implementation of the deployment MsgServer interface for the provided Keeper.
Types ¶
type AuthzKeeper ¶
type AuthzKeeper interface {
DeleteGrant(ctx context.Context, grantee sdk.AccAddress, granter sdk.AccAddress, msgType string) error
GetAuthorization(ctx context.Context, grantee sdk.AccAddress, granter sdk.AccAddress, msgType string) (authz.Authorization, *time.Time)
SaveGrant(ctx context.Context, grantee sdk.AccAddress, granter sdk.AccAddress, authorization authz.Authorization, expiration *time.Time) error
GetGranteeGrantsByMsgType(ctx context.Context, grantee sdk.AccAddress, msgType string, onGrant authzkeeper.OnGrantFn)
}
type BankKeeper ¶
Click to show internal directories.
Click to hide internal directories.