keeper

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Apache-2.0 Imports: 8 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
}

func NewKeeper

func NewKeeper(cdc codec.BinaryMarshaler, key sdk.StoreKey, mint expected.MintKeeper) Keeper

func (*Keeper) DeleteInflation

func (k *Keeper) DeleteInflation(ctx sdk.Context, timestamp time.Time)

func (*Keeper) GetInflation

func (k *Keeper) GetInflation(ctx sdk.Context, timestamp time.Time) (inflation types.Inflation, found bool)

func (*Keeper) GetInflations

func (k *Keeper) GetInflations(ctx sdk.Context, skip, limit int64) (items []types.Inflation)

func (*Keeper) GetMinter added in v0.8.3

func (k *Keeper) GetMinter(ctx sdk.Context) minttypes.Minter

func (*Keeper) GetParams

func (k *Keeper) GetParams(ctx sdk.Context) minttypes.Params

func (*Keeper) IterateInflations

func (k *Keeper) IterateInflations(ctx sdk.Context, fn func(index int, item types.Inflation) (stop bool))

func (*Keeper) Logger

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

func (*Keeper) SetInflation

func (k *Keeper) SetInflation(ctx sdk.Context, inflation types.Inflation)

func (*Keeper) SetMinter added in v0.8.3

func (k *Keeper) SetMinter(ctx sdk.Context, minter minttypes.Minter)

func (*Keeper) SetParams

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

func (*Keeper) Store

func (k *Keeper) Store(ctx sdk.Context) sdk.KVStore

Jump to

Keyboard shortcuts

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