keeper

package
v1.0.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IKeeper

type IKeeper interface {
	Codec() codec.BinaryCodec
	StoreKey() storetypes.StoreKey
	SetDepositParams(ctx sdk.Context, params types.DepositParams) error
	GetDepositParams(ctx sdk.Context) (params types.DepositParams)
}

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec, skey storetypes.StoreKey, pspace paramtypes.Subspace) IKeeper

NewKeeper creates and returns an instance for Provider keeper

type Keeper

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

Keeper of the provider store

func (Keeper) Codec

func (k Keeper) Codec() codec.BinaryCodec

Codec returns keeper codec

func (Keeper) GetDepositParams

func (k Keeper) GetDepositParams(_ sdk.Context) types.DepositParams

GetDepositParams returns the total set of x/gov parameters.

func (Keeper) SetDepositParams

func (k Keeper) SetDepositParams(_ sdk.Context, _ types.DepositParams) error

SetDepositParams sets the deployment parameters to the paramspace.

func (Keeper) StoreKey

func (k Keeper) StoreKey() storetypes.StoreKey

Jump to

Keyboard shortcuts

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