Documentation ¶
Overview ¶
Package tokenregistrymocks is a generated GoMock package.
Index ¶
- type MockKeeper
- func (m *MockKeeper) CheckEntryPermissions(entry *types.RegistryEntry, permissions []types.Permission) bool
- func (m *MockKeeper) EXPECT() *MockKeeperMockRecorder
- func (m *MockKeeper) ExportGenesis(ctx types0.Context) *types.GenesisState
- func (m *MockKeeper) GetAdminKeeper() keeper.Keeper
- func (m *MockKeeper) GetEntry(registry types.Registry, denom string) (*types.RegistryEntry, error)
- func (m *MockKeeper) GetRegistry(ctx types0.Context) types.Registry
- func (m *MockKeeper) InitGenesis(ctx types0.Context, state types.GenesisState) []types1.ValidatorUpdate
- func (m *MockKeeper) RemoveToken(ctx types0.Context, denom string)
- func (m *MockKeeper) SetRegistry(ctx types0.Context, registry types.Registry)
- func (m *MockKeeper) SetToken(ctx types0.Context, entry *types.RegistryEntry)
- func (m *MockKeeper) StoreKey() types0.StoreKey
- type MockKeeperMockRecorder
- func (mr *MockKeeperMockRecorder) CheckEntryPermissions(entry, permissions interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) ExportGenesis(ctx interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) GetAdminKeeper() *gomock.Call
- func (mr *MockKeeperMockRecorder) GetEntry(registry, denom interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) GetRegistry(ctx interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) InitGenesis(ctx, state interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) RemoveToken(ctx, denom interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) SetRegistry(ctx, registry interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) SetToken(ctx, entry interface{}) *gomock.Call
- func (mr *MockKeeperMockRecorder) StoreKey() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeeper ¶
type MockKeeper struct {
// contains filtered or unexported fields
}
MockKeeper is a mock of Keeper interface.
func NewMockKeeper ¶
func NewMockKeeper(ctrl *gomock.Controller) *MockKeeper
NewMockKeeper creates a new mock instance.
func (*MockKeeper) CheckEntryPermissions ¶ added in v0.10.1
func (m *MockKeeper) CheckEntryPermissions(entry *types.RegistryEntry, permissions []types.Permission) bool
CheckEntryPermissions mocks base method.
func (*MockKeeper) EXPECT ¶
func (m *MockKeeper) EXPECT() *MockKeeperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeeper) ExportGenesis ¶
func (m *MockKeeper) ExportGenesis(ctx types0.Context) *types.GenesisState
ExportGenesis mocks base method.
func (*MockKeeper) GetAdminKeeper ¶ added in v1.4.0
func (m *MockKeeper) GetAdminKeeper() keeper.Keeper
GetAdminKeeper mocks base method.
func (*MockKeeper) GetEntry ¶ added in v0.10.1
func (m *MockKeeper) GetEntry(registry types.Registry, denom string) (*types.RegistryEntry, error)
GetEntry mocks base method.
func (*MockKeeper) GetRegistry ¶ added in v0.10.1
func (m *MockKeeper) GetRegistry(ctx types0.Context) types.Registry
GetRegistry mocks base method.
func (*MockKeeper) InitGenesis ¶
func (m *MockKeeper) InitGenesis(ctx types0.Context, state types.GenesisState) []types1.ValidatorUpdate
InitGenesis mocks base method.
func (*MockKeeper) RemoveToken ¶
func (m *MockKeeper) RemoveToken(ctx types0.Context, denom string)
RemoveToken mocks base method.
func (*MockKeeper) SetRegistry ¶ added in v1.4.0
func (m *MockKeeper) SetRegistry(ctx types0.Context, registry types.Registry)
SetRegistry mocks base method.
func (*MockKeeper) SetToken ¶
func (m *MockKeeper) SetToken(ctx types0.Context, entry *types.RegistryEntry)
SetToken mocks base method.
func (*MockKeeper) StoreKey ¶ added in v1.4.0
func (m *MockKeeper) StoreKey() types0.StoreKey
StoreKey mocks base method.
type MockKeeperMockRecorder ¶
type MockKeeperMockRecorder struct {
// contains filtered or unexported fields
}
MockKeeperMockRecorder is the mock recorder for MockKeeper.
func (*MockKeeperMockRecorder) CheckEntryPermissions ¶ added in v0.10.1
func (mr *MockKeeperMockRecorder) CheckEntryPermissions(entry, permissions interface{}) *gomock.Call
CheckEntryPermissions indicates an expected call of CheckEntryPermissions.
func (*MockKeeperMockRecorder) ExportGenesis ¶
func (mr *MockKeeperMockRecorder) ExportGenesis(ctx interface{}) *gomock.Call
ExportGenesis indicates an expected call of ExportGenesis.
func (*MockKeeperMockRecorder) GetAdminKeeper ¶ added in v1.4.0
func (mr *MockKeeperMockRecorder) GetAdminKeeper() *gomock.Call
GetAdminKeeper indicates an expected call of GetAdminKeeper.
func (*MockKeeperMockRecorder) GetEntry ¶ added in v0.10.1
func (mr *MockKeeperMockRecorder) GetEntry(registry, denom interface{}) *gomock.Call
GetEntry indicates an expected call of GetEntry.
func (*MockKeeperMockRecorder) GetRegistry ¶ added in v0.10.1
func (mr *MockKeeperMockRecorder) GetRegistry(ctx interface{}) *gomock.Call
GetRegistry indicates an expected call of GetRegistry.
func (*MockKeeperMockRecorder) InitGenesis ¶
func (mr *MockKeeperMockRecorder) InitGenesis(ctx, state interface{}) *gomock.Call
InitGenesis indicates an expected call of InitGenesis.
func (*MockKeeperMockRecorder) RemoveToken ¶
func (mr *MockKeeperMockRecorder) RemoveToken(ctx, denom interface{}) *gomock.Call
RemoveToken indicates an expected call of RemoveToken.
func (*MockKeeperMockRecorder) SetRegistry ¶ added in v1.4.0
func (mr *MockKeeperMockRecorder) SetRegistry(ctx, registry interface{}) *gomock.Call
SetRegistry indicates an expected call of SetRegistry.
func (*MockKeeperMockRecorder) SetToken ¶
func (mr *MockKeeperMockRecorder) SetToken(ctx, entry interface{}) *gomock.Call
SetToken indicates an expected call of SetToken.
func (*MockKeeperMockRecorder) StoreKey ¶ added in v1.4.0
func (mr *MockKeeperMockRecorder) StoreKey() *gomock.Call
StoreKey indicates an expected call of StoreKey.