types

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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ModuleKey is the name of the module
	ModuleName = "global"

	// QuerierRoute is the querier route for gov
	QuerierRoute = ModuleName

	QueryTimeEventList       = "timeEventList"
	QueryGlobalTime          = "globalTime"
	QueryGlobalEventErrors   = "eventErrors"
	QueryGlobalBCEventErrors = "bcEventErrors"
)

Variables

This section is empty.

Functions

func ErrGetPastDay

func ErrGetPastDay() sdk.Error

ErrGetPastDay - error if get past day is negative

func ErrParseEventCacheList

func ErrParseEventCacheList() sdk.Error

ErrParseEventCacheList - error if parse event cache list failed

func ErrQueryFailed

func ErrQueryFailed() sdk.Error

ErrQueryFailed - error when query global store failed

func ErrRegisterExpiredEvent

func ErrRegisterExpiredEvent(unixTime int64) sdk.Error

ErrRegisterExpiredEvent - error when register event time is before current timestamp

func ErrRegisterInvalidEvent

func ErrRegisterInvalidEvent() sdk.Error

ErrRegisterInvalidEvent -

Types

This section is empty.

Jump to

Keyboard shortcuts

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