keeper

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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) GetCerberusOwners added in v1.1.0

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

GetCerberusOwners returns the current Cerberus owners

func (*Keeper) SetCerberusOwners added in v1.1.0

func (k *Keeper) SetCerberusOwners(ctx sdk.Context, moderators []string)

SetCerberusOwners sets the Cerberus owners

Jump to

Keyboard shortcuts

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