Documentation ¶
Index ¶
- type AuthzKeeper
- func (_m *AuthzKeeper) DeleteGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, ...) error
- func (_m *AuthzKeeper) GetCleanAuthorization(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, ...) (authz.Authorization, time.Time)
- func (_m *AuthzKeeper) SaveGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthzKeeper ¶
AuthzKeeper is an autogenerated mock type for the AuthzKeeper type
func NewAuthzKeeper ¶
func NewAuthzKeeper(t mockConstructorTestingTNewAuthzKeeper) *AuthzKeeper
NewAuthzKeeper creates a new instance of AuthzKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AuthzKeeper) DeleteGrant ¶
func (_m *AuthzKeeper) DeleteGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) error
DeleteGrant provides a mock function with given fields: ctx, grantee, granter, msgType
func (*AuthzKeeper) GetCleanAuthorization ¶
func (_m *AuthzKeeper) GetCleanAuthorization(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, msgType string) (authz.Authorization, time.Time)
GetCleanAuthorization provides a mock function with given fields: ctx, grantee, granter, msgType
func (*AuthzKeeper) SaveGrant ¶
func (_m *AuthzKeeper) SaveGrant(ctx types.Context, grantee types.AccAddress, granter types.AccAddress, authorization authz.Authorization, expiration time.Time) error
SaveGrant provides a mock function with given fields: ctx, grantee, granter, authorization, expiration
Click to show internal directories.
Click to hide internal directories.