mocks

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalKeeper

type GlobalKeeper struct {
	mock.Mock
}

GlobalKeeper is an autogenerated mock type for the GlobalKeeper type

func (*GlobalKeeper) AddFrictionAndRegisterContentRewardEvent

func (_m *GlobalKeeper) AddFrictionAndRegisterContentRewardEvent(ctx types.Context, event linotypes.Event, friction linotypes.Coin, evaluate linotypes.MiniDollar) types.Error

AddFrictionAndRegisterContentRewardEvent provides a mock function with given fields: ctx, event, friction, evaluate

func (*GlobalKeeper) AddToValidatorInflationPool

func (_m *GlobalKeeper) AddToValidatorInflationPool(ctx types.Context, coin linotypes.Coin) types.Error

AddToValidatorInflationPool provides a mock function with given fields: ctx, coin

func (*GlobalKeeper) GetConsumptionFrictionRate

func (_m *GlobalKeeper) GetConsumptionFrictionRate(ctx types.Context) (types.Dec, types.Error)

GetConsumptionFrictionRate provides a mock function with given fields: ctx

func (*GlobalKeeper) GetLastBlockTime

func (_m *GlobalKeeper) GetLastBlockTime(ctx types.Context) (int64, types.Error)

GetLastBlockTime provides a mock function with given fields: ctx

func (*GlobalKeeper) GetRewardAndPopFromWindow

func (_m *GlobalKeeper) GetRewardAndPopFromWindow(ctx types.Context, evaluate linotypes.MiniDollar) (linotypes.Coin, types.Error)

GetRewardAndPopFromWindow provides a mock function with given fields: ctx, evaluate

func (*GlobalKeeper) ImportFromFile

func (_m *GlobalKeeper) ImportFromFile(ctx types.Context, cdc *amino.Codec, filepath string) error

ImportFromFile provides a mock function with given fields: ctx, cdc, filepath

func (*GlobalKeeper) PopDeveloperMonthlyInflation

func (_m *GlobalKeeper) PopDeveloperMonthlyInflation(ctx types.Context) (linotypes.Coin, types.Error)

PopDeveloperMonthlyInflation 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