Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LightclientAuthorityKeeper ¶
LightclientAuthorityKeeper is an autogenerated mock type for the LightclientAuthorityKeeper type
func NewLightclientAuthorityKeeper ¶
func NewLightclientAuthorityKeeper(t interface {
mock.TestingT
Cleanup(func())
}) *LightclientAuthorityKeeper
NewLightclientAuthorityKeeper creates a new instance of LightclientAuthorityKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LightclientAuthorityKeeper) IsAuthorized ¶
func (_m *LightclientAuthorityKeeper) IsAuthorized(ctx types.Context, address string, policyType authoritytypes.PolicyType) bool
IsAuthorized provides a mock function with given fields: ctx, address, policyType
Click to show internal directories.
Click to hide internal directories.