keeper

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryMinGasPrice     = "min-gas-price"
	QueryIsAccountBanned = "is-banned"
)

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(keeper Keeper, tokenKeeper token.Keeper) sdk.Querier

NewQuerier creates a new querier for token clients.

Types

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine

func NewKeeper

func NewKeeper(cdc *codec.Codec, storeKey sdk.StoreKey, paramSpace params.Subspace, sk types.SupplyKeeper) Keeper

NewKeeper creates new instances of the PDV Keeper

func (Keeper) GetParams added in v1.4.0

func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)

GetParams gets the operations module's parameters.

func (Keeper) SetParams added in v1.4.0

func (k Keeper) SetParams(ctx sdk.Context, params types.Params)

SetParams sets the operations module's parameters.

Jump to

Keyboard shortcuts

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