types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ModuleName name used throughout module
	ModuleName = "validatorvesting"

	// StoreKey to be used when creating the KVStore
	StoreKey = ModuleName

	// QuerierRoute should be set to module name
	QuerierRoute = ModuleName

	// QueryPath shortened name for public API (cli and REST)
	QueryPath = "vesting"
)
View Source
const (
	QueryCirculatingSupply     = "circulating-supply"
	QueryTotalSupply           = "total-supply"
	QueryCirculatingSupplyHARD = "circulating-supply-hard"
	QueryCirculatingSupplyUSDX = "circulating-supply-usdx"
	QueryCirculatingSupplySWP  = "circulating-supply-swp"
	QueryTotalSupplyHARD       = "total-supply-hard"
	QueryTotalSupplyUSDX       = "total-supply-usdx"
)

Querier routes for the validator vesting module

Variables

This section is empty.

Functions

This section is empty.

Types

type BankKeeper

type BankKeeper interface {
	GetSupply(ctx sdk.Context, denom string) sdk.Coin
}

BankKeeper defines the expected bank keeper (noalias)

type BaseQueryParams

type BaseQueryParams struct {
	Page  int `json:"page" yaml:"page"`
	Limit int `json:"limit" yaml:"limit"`
}

BaseQueryParams defines the parameters necessary for querying for all Evidence.

func NewBaseQueryParams

func NewBaseQueryParams(page, limit int) BaseQueryParams

NewBaseQueryParams returns a new BaseQueryParams

Jump to

Keyboard shortcuts

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