Documentation ¶
Index ¶
- type GlobalKeeper
- func (_m *GlobalKeeper) AddFrictionAndRegisterContentRewardEvent(ctx types.Context, event linotypes.Event, friction linotypes.Coin, ...) types.Error
- func (_m *GlobalKeeper) AddLinoStakeToStat(ctx types.Context, linoStake linotypes.Coin) types.Error
- func (_m *GlobalKeeper) AddToValidatorInflationPool(ctx types.Context, coin linotypes.Coin) types.Error
- func (_m *GlobalKeeper) ExportToFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *GlobalKeeper) GetConsumptionFrictionRate(ctx types.Context) (types.Dec, types.Error)
- func (_m *GlobalKeeper) GetInterestSince(ctx types.Context, unixTime int64, linoStake linotypes.Coin) (linotypes.Coin, types.Error)
- func (_m *GlobalKeeper) GetLastBlockTime(ctx types.Context) (int64, types.Error)
- func (_m *GlobalKeeper) GetRewardAndPopFromWindow(ctx types.Context, evaluate linotypes.MiniDollar) (linotypes.Coin, types.Error)
- func (_m *GlobalKeeper) GetValidatorHourlyInflation(ctx types.Context) (linotypes.Coin, types.Error)
- func (_m *GlobalKeeper) ImportFromFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *GlobalKeeper) MinusLinoStakeFromStat(ctx types.Context, linoStake linotypes.Coin) types.Error
- func (_m *GlobalKeeper) PopDeveloperMonthlyInflation(ctx types.Context) (linotypes.Coin, types.Error)
- func (_m *GlobalKeeper) RegisterCoinReturnEvent(ctx types.Context, events []linotypes.Event, times int64, intervalSec int64) types.Error
- func (_m *GlobalKeeper) RegisterEventAtTime(ctx types.Context, unixTime int64, event linotypes.Event) types.Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalKeeper ¶
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
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
ExportToFile provides a mock function with given fields: ctx, cdc, filepath
func (*GlobalKeeper) GetConsumptionFrictionRate ¶
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 ¶
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 ¶
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