tokenregistrymocks

package
v0.13.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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