tokenregistrymocks

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tokenregistrymocks is a generated GoMock package.

Index

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

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) GetEntry

func (m *MockKeeper) GetEntry(registry types.Registry, denom string) (*types.RegistryEntry, error)

GetEntry mocks base method.

func (*MockKeeper) GetRegistry

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) IsAdminAccount

func (m *MockKeeper) IsAdminAccount(ctx types0.Context, adminAccount types0.AccAddress) bool

IsAdminAccount mocks base method.

func (*MockKeeper) RemoveToken

func (m *MockKeeper) RemoveToken(ctx types0.Context, denom string)

RemoveToken mocks base method.

func (*MockKeeper) SetAdminAccount

func (m *MockKeeper) SetAdminAccount(ctx types0.Context, adminAccount types0.AccAddress)

SetAdminAccount mocks base method.

func (*MockKeeper) SetToken

func (m *MockKeeper) SetToken(ctx types0.Context, entry *types.RegistryEntry)

SetToken mocks base method.

type MockKeeperMockRecorder

type MockKeeperMockRecorder struct {
	// contains filtered or unexported fields
}

MockKeeperMockRecorder is the mock recorder for MockKeeper.

func (*MockKeeperMockRecorder) CheckEntryPermissions

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) GetEntry

func (mr *MockKeeperMockRecorder) GetEntry(registry, denom interface{}) *gomock.Call

GetEntry indicates an expected call of GetEntry.

func (*MockKeeperMockRecorder) GetRegistry

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) IsAdminAccount

func (mr *MockKeeperMockRecorder) IsAdminAccount(ctx, adminAccount interface{}) *gomock.Call

IsAdminAccount indicates an expected call of IsAdminAccount.

func (*MockKeeperMockRecorder) RemoveToken

func (mr *MockKeeperMockRecorder) RemoveToken(ctx, denom interface{}) *gomock.Call

RemoveToken indicates an expected call of RemoveToken.

func (*MockKeeperMockRecorder) SetAdminAccount

func (mr *MockKeeperMockRecorder) SetAdminAccount(ctx, adminAccount interface{}) *gomock.Call

SetAdminAccount indicates an expected call of SetAdminAccount.

func (*MockKeeperMockRecorder) SetToken

func (mr *MockKeeperMockRecorder) SetToken(ctx, entry interface{}) *gomock.Call

SetToken indicates an expected call of SetToken.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL