keeper

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(keeper 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) Keeper

NewKeeper creates new instances of the PDV Keeper

func (*Keeper) GetFixedGasParams

func (k *Keeper) GetFixedGasParams(ctx sdk.Context) types.FixedGasParams

func (*Keeper) GetMinGasPrice

func (k *Keeper) GetMinGasPrice(ctx sdk.Context) sdk.DecCoin

func (*Keeper) GetSupervisors

func (k *Keeper) GetSupervisors(ctx sdk.Context) []string

GetSupervisors returns the current supervisors

func (*Keeper) SetFixedGasParams

func (k *Keeper) SetFixedGasParams(ctx sdk.Context, out types.FixedGasParams)

func (*Keeper) SetMinGasPrice

func (k *Keeper) SetMinGasPrice(ctx sdk.Context, price sdk.DecCoin)

func (*Keeper) SetSupervisors

func (k *Keeper) SetSupervisors(ctx sdk.Context, supervisors []string)

SetSupervisors sets the Cerberus owners

Jump to

Keyboard shortcuts

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