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: 1

Documentation

Index

Constants

View Source
const (
	// ModuleName is module name
	ModuleName = "bandwidth"

	// RouterKey is the message route for bandwidth
	RouterKey = ModuleName

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

	// querier paths.
	QueryBandwidthInfo    = "bandwidthinfo"
	QueryBlockInfo        = "blockinfo"
	QueryAppBandwidthInfo = "appinfo"
)

Variables

This section is empty.

Functions

func ErrAppBandwidthNotEnough

func ErrAppBandwidthNotEnough() sdk.Error

ErrAppBandwidthNotEnough - error when app bandwidth not enough

func ErrInvalidExpectedMPS

func ErrInvalidExpectedMPS() sdk.Error

ErrInvalidExpectedMPS - error when message fee is not valid

func ErrInvalidMsgQuota

func ErrInvalidMsgQuota() sdk.Error

ErrInvalidMsgQuota - error when message fee is not valid

func ErrQueryFailed

func ErrQueryFailed() sdk.Error

ErrQueryFailed - error when query bandwidth store failed

func ErrUserMsgFeeNotEnough

func ErrUserMsgFeeNotEnough() sdk.Error

ErrUserMsgFeeNotEnough - error when app bandwidth not enough

Types

This section is empty.

Jump to

Keyboard shortcuts

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