mocks

package
v0.0.0-...-cc3bc86 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmissionAccountKeeper

type EmissionAccountKeeper struct {
	mock.Mock
}

EmissionAccountKeeper is an autogenerated mock type for the EmissionAccountKeeper type

func NewEmissionAccountKeeper

func NewEmissionAccountKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *EmissionAccountKeeper

NewEmissionAccountKeeper creates a new instance of EmissionAccountKeeper. 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 (*EmissionAccountKeeper) GetModuleAccount

func (_m *EmissionAccountKeeper) GetModuleAccount(ctx types.Context, moduleName string) authtypes.ModuleAccountI

GetModuleAccount provides a mock function with given fields: ctx, moduleName

type EmissionBankKeeper

type EmissionBankKeeper struct {
	mock.Mock
}

EmissionBankKeeper is an autogenerated mock type for the EmissionBankKeeper type

func NewEmissionBankKeeper

func NewEmissionBankKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *EmissionBankKeeper

NewEmissionBankKeeper creates a new instance of EmissionBankKeeper. 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 (*EmissionBankKeeper) GetBalance

func (_m *EmissionBankKeeper) GetBalance(ctx types.Context, addr types.AccAddress, denom string) types.Coin

GetBalance provides a mock function with given fields: ctx, addr, denom

func (*EmissionBankKeeper) SendCoinsFromModuleToAccount

func (_m *EmissionBankKeeper) SendCoinsFromModuleToAccount(ctx types.Context, senderModule string, recipientAddr types.AccAddress, amt types.Coins) error

SendCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt

func (*EmissionBankKeeper) SendCoinsFromModuleToModule

func (_m *EmissionBankKeeper) SendCoinsFromModuleToModule(ctx types.Context, senderModule string, recipientModule string, amt types.Coins) error

SendCoinsFromModuleToModule provides a mock function with given fields: ctx, senderModule, recipientModule, amt

type EmissionKeeper

type EmissionKeeper struct {
	mock.Mock
}

EmissionKeeper is an autogenerated mock type for the EmissionKeeper type

func NewEmissionKeeper

func NewEmissionKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *EmissionKeeper

NewEmissionKeeper creates a new instance of EmissionKeeper. 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.

type EmissionObserverKeeper

type EmissionObserverKeeper struct {
	mock.Mock
}

EmissionObserverKeeper is an autogenerated mock type for the EmissionObserverKeeper type

func NewEmissionObserverKeeper

func NewEmissionObserverKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *EmissionObserverKeeper

NewEmissionObserverKeeper creates a new instance of EmissionObserverKeeper. 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 (*EmissionObserverKeeper) GetBallot

func (_m *EmissionObserverKeeper) GetBallot(ctx types.Context, index string) (observertypes.Ballot, bool)

GetBallot provides a mock function with given fields: ctx, index

func (*EmissionObserverKeeper) GetMaturedBallots

func (_m *EmissionObserverKeeper) GetMaturedBallots(ctx types.Context, maturityBlocks int64) (observertypes.BallotListForHeight, bool)

GetMaturedBallots provides a mock function with given fields: ctx, maturityBlocks

type EmissionStakingKeeper

type EmissionStakingKeeper struct {
	mock.Mock
}

EmissionStakingKeeper is an autogenerated mock type for the EmissionStakingKeeper type

func NewEmissionStakingKeeper

func NewEmissionStakingKeeper(t interface {
	mock.TestingT
	Cleanup(func())
}) *EmissionStakingKeeper

NewEmissionStakingKeeper creates a new instance of EmissionStakingKeeper. 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 (*EmissionStakingKeeper) BondedRatio

func (_m *EmissionStakingKeeper) BondedRatio(ctx types.Context) math.LegacyDec

BondedRatio provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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