tokenregistrymocks

package
v0.9.14 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 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) CheckDenomPermissions

func (m *MockKeeper) CheckDenomPermissions(ctx types0.Context, denom string, permissions []types.Permission) bool

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

func (m *MockKeeper) GetDenom(ctx types0.Context, denom string) types.RegistryEntry

GetDenom mocks base method.

func (*MockKeeper) GetDenomWhitelist

func (m *MockKeeper) GetDenomWhitelist(ctx types0.Context) types.Registry

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

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

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

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

CheckDenomPermissions indicates an expected call of CheckDenomPermissions.

func (*MockKeeperMockRecorder) ExportGenesis

func (mr *MockKeeperMockRecorder) ExportGenesis(ctx interface{}) *gomock.Call

ExportGenesis indicates an expected call of ExportGenesis.

func (*MockKeeperMockRecorder) GetDenom

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

GetDenom indicates an expected call of GetDenom.

func (*MockKeeperMockRecorder) GetDenomWhitelist

func (mr *MockKeeperMockRecorder) GetDenomWhitelist(ctx interface{}) *gomock.Call

GetDenomWhitelist indicates an expected call of GetDenomWhitelist.

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

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

IsDenomWhitelisted indicates an expected call of IsDenomWhitelisted.

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