mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 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) AddLinoStakeToStat added in v0.4.0

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

AddLinoStakeToStat provides a mock function with given fields: ctx, linoStake

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) ExportToFile added in v0.4.0

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

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

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) GetInterestSince added in v0.4.0

func (_m *GlobalKeeper) GetInterestSince(ctx types.Context, unixTime int64, linoStake linotypes.Coin) (linotypes.Coin, types.Error)

GetInterestSince provides a mock function with given fields: ctx, unixTime, linoStake

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) GetValidatorHourlyInflation added in v0.4.0

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

GetValidatorHourlyInflation provides a mock function with given fields: ctx

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) MinusLinoStakeFromStat added in v0.4.0

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

MinusLinoStakeFromStat provides a mock function with given fields: ctx, linoStake

func (*GlobalKeeper) PopDeveloperMonthlyInflation

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

PopDeveloperMonthlyInflation provides a mock function with given fields: ctx

func (*GlobalKeeper) RegisterCoinReturnEvent added in v0.4.0

func (_m *GlobalKeeper) RegisterCoinReturnEvent(ctx types.Context, events []linotypes.Event, times int64, intervalSec int64) types.Error

RegisterCoinReturnEvent provides a mock function with given fields: ctx, events, times, intervalSec

func (*GlobalKeeper) RegisterEventAtTime added in v0.4.0

func (_m *GlobalKeeper) RegisterEventAtTime(ctx types.Context, unixTime int64, event linotypes.Event) types.Error

RegisterEventAtTime provides a mock function with given fields: ctx, unixTime, event

Jump to

Keyboard shortcuts

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