mocks

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BandwidthKeeper

type BandwidthKeeper struct {
	mock.Mock
}

BandwidthKeeper is an autogenerated mock type for the BandwidthKeeper type

func (*BandwidthKeeper) BeginBlocker

func (_m *BandwidthKeeper) BeginBlocker(ctx types.Context) types.Error

BeginBlocker provides a mock function with given fields: ctx

func (*BandwidthKeeper) CheckBandwidth

func (_m *BandwidthKeeper) CheckBandwidth(ctx types.Context, addr types.AccAddress, fee authtypes.StdFee) types.Error

CheckBandwidth provides a mock function with given fields: ctx, addr, fee

func (*BandwidthKeeper) DecayMaxMPS

func (_m *BandwidthKeeper) DecayMaxMPS(ctx types.Context) types.Error

DecayMaxMPS provides a mock function with given fields: ctx

func (*BandwidthKeeper) EndBlocker

func (_m *BandwidthKeeper) EndBlocker(ctx types.Context) types.Error

EndBlocker provides a mock function with given fields: ctx

func (*BandwidthKeeper) GetAppBandwidthInfo

func (_m *BandwidthKeeper) GetAppBandwidthInfo(ctx types.Context, accKey linotypes.AccountKey) (*model.AppBandwidthInfo, types.Error)

GetAppBandwidthInfo provides a mock function with given fields: ctx, accKey

func (*BandwidthKeeper) GetBandwidthInfo

func (_m *BandwidthKeeper) GetBandwidthInfo(ctx types.Context) (*model.BandwidthInfo, types.Error)

GetBandwidthInfo provides a mock function with given fields: ctx

func (*BandwidthKeeper) GetBlockInfo

func (_m *BandwidthKeeper) GetBlockInfo(ctx types.Context) (*model.BlockInfo, types.Error)

GetBlockInfo provides a mock function with given fields: ctx

func (*BandwidthKeeper) InitGenesis

func (_m *BandwidthKeeper) InitGenesis(ctx types.Context) error

InitGenesis provides a mock function with given fields: ctx

func (*BandwidthKeeper) ReCalculateAppBandwidthInfo

func (_m *BandwidthKeeper) ReCalculateAppBandwidthInfo(ctx types.Context) types.Error

ReCalculateAppBandwidthInfo 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