Documentation ¶
Index ¶
- type GlobalKeeper
- func (_m *GlobalKeeper) ExecuteEvents(ctx types.Context, exec func(types.Context, linotypes.Event) types.Error)
- func (_m *GlobalKeeper) ExportToFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *GlobalKeeper) GetBCEventErrors(ctx types.Context) []linotypes.BCEventErr
- func (_m *GlobalKeeper) GetEventErrors(ctx types.Context) []linotypes.EventError
- func (_m *GlobalKeeper) GetGlobalTime(ctx types.Context) model.GlobalTime
- func (_m *GlobalKeeper) GetLastBlockTime(ctx types.Context) int64
- func (_m *GlobalKeeper) GetPastDay(ctx types.Context, unixTime int64) int64
- func (_m *GlobalKeeper) ImportFromFile(ctx types.Context, cdc *amino.Codec, filepath string) error
- func (_m *GlobalKeeper) InitGenesis(ctx types.Context)
- func (_m *GlobalKeeper) OnBeginBlock(ctx types.Context)
- func (_m *GlobalKeeper) OnEndBlock(ctx types.Context)
- 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) ExecuteEvents ¶ added in v0.6.0
func (_m *GlobalKeeper) ExecuteEvents(ctx types.Context, exec func(types.Context, linotypes.Event) types.Error)
ExecuteEvents provides a mock function with given fields: ctx, exec
func (*GlobalKeeper) ExportToFile ¶ added in v0.4.0
ExportToFile provides a mock function with given fields: ctx, cdc, filepath
func (*GlobalKeeper) GetBCEventErrors ¶ added in v0.6.0
func (_m *GlobalKeeper) GetBCEventErrors(ctx types.Context) []linotypes.BCEventErr
GetBCEventErrors provides a mock function with given fields: ctx
func (*GlobalKeeper) GetEventErrors ¶ added in v0.6.0
func (_m *GlobalKeeper) GetEventErrors(ctx types.Context) []linotypes.EventError
GetEventErrors provides a mock function with given fields: ctx
func (*GlobalKeeper) GetGlobalTime ¶ added in v0.6.0
func (_m *GlobalKeeper) GetGlobalTime(ctx types.Context) model.GlobalTime
GetGlobalTime provides a mock function with given fields: ctx
func (*GlobalKeeper) GetLastBlockTime ¶
func (_m *GlobalKeeper) GetLastBlockTime(ctx types.Context) int64
GetLastBlockTime provides a mock function with given fields: ctx
func (*GlobalKeeper) GetPastDay ¶ added in v0.6.0
func (_m *GlobalKeeper) GetPastDay(ctx types.Context, unixTime int64) int64
GetPastDay provides a mock function with given fields: ctx, unixTime
func (*GlobalKeeper) ImportFromFile ¶
ImportFromFile provides a mock function with given fields: ctx, cdc, filepath
func (*GlobalKeeper) InitGenesis ¶ added in v0.6.0
func (_m *GlobalKeeper) InitGenesis(ctx types.Context)
InitGenesis provides a mock function with given fields: ctx
func (*GlobalKeeper) OnBeginBlock ¶ added in v0.6.0
func (_m *GlobalKeeper) OnBeginBlock(ctx types.Context)
OnBeginBlock provides a mock function with given fields: ctx
func (*GlobalKeeper) OnEndBlock ¶ added in v0.6.0
func (_m *GlobalKeeper) OnEndBlock(ctx types.Context)
OnEndBlock provides a mock function with given fields: ctx
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