keeper

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultParamspace = types.ModuleName
)

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(k Keeper) sdk.Querier

func ParamKeyTable

func ParamKeyTable() params.KeyTable

Types

type CIPALCount added in v1.0.12

type CIPALCount struct {
	Count int `json:"count" yaml:"count"`
}

func NewCIPALCount added in v1.0.12

func NewCIPALCount(c int) CIPALCount

type Keeper

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

func NewKeeper

func NewKeeper(storeKey sdk.StoreKey, cdc *codec.Codec, paramstore params.Subspace, codespace sdk.CodespaceType) Keeper

func (Keeper) Codespace

func (k Keeper) Codespace() sdk.CodespaceType

func (Keeper) GetCIPALObject added in v1.0.11

func (k Keeper) GetCIPALObject(ctx sdk.Context, userAddress string) (obj types.CIPALObject, found bool)

func (Keeper) GetCIPALObjectCount added in v1.0.12

func (k Keeper) GetCIPALObjectCount(ctx sdk.Context) (count int)

get the set of all cipal object with no limits

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) SetCIPALObject added in v1.0.11

func (k Keeper) SetCIPALObject(ctx sdk.Context, obj types.CIPALObject)

Jump to

Keyboard shortcuts

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