mocks

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StakingKeeper

type StakingKeeper struct {
	mock.Mock
}

StakingKeeper is an autogenerated mock type for the StakingKeeper type

func (*StakingKeeper) GetCurrentEpoch

func (_m *StakingKeeper) GetCurrentEpoch(ctx types.Context) types.Epoch

GetCurrentEpoch provides a mock function with given fields: ctx

func (*StakingKeeper) GetEpochByHeight

func (_m *StakingKeeper) GetEpochByHeight(ctx types.Context, height uint64) types.Epoch

GetEpochByHeight provides a mock function with given fields: ctx, height

func (*StakingKeeper) JailByOperator

func (_m *StakingKeeper) JailByOperator(ctx types.Context, operator types.ValAddress)

JailByOperator provides a mock function with given fields: ctx, operator

func (*StakingKeeper) SlashByOperator

func (_m *StakingKeeper) SlashByOperator(_a0 types.Context, _a1 types.ValAddress, _a2 int64, _a3 types.Dec)

SlashByOperator provides a mock function with given fields: _a0, _a1, _a2, _a3

Jump to

Keyboard shortcuts

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