types

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 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"
	QueryCirculatingSupplyJINX = "circulating-supply-jinx"
	QueryCirculatingSupplyUSDF = "circulating-supply-usdf"
	QueryCirculatingSupplySWP  = "circulating-supply-swp"
	QueryTotalSupplyJINX       = "total-supply-jinx"
	QueryTotalSupplyUSDF       = "total-supply-usdf"
)

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