keeper

package
v1.1.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.

Types

type Keeper

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

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey storetypes.StoreKey,
	bankKeeper types.BankKeeper,
	rarimocoreKeeper types.RarimocoreKeeper,
	tokenmanagerKeepr types.TokenmanagerKeeper,
) *Keeper

func (Keeper) ChangeParamsProposal

func (k Keeper) ChangeParamsProposal(ctx sdk.Context, proposal *types.ChangeParamsProposal) error

func (Keeper) GetAllHash

func (k Keeper) GetAllHash(ctx sdk.Context) (list []types.Hash)

GetAllHash returns all hash

func (Keeper) GetHash

func (k Keeper) GetHash(
	ctx sdk.Context,
	index string,

) (val types.Hash, found bool)

GetHash returns a hash from its index

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)

GetParams get all parameters as types.Params

func (Keeper) Hash

func (Keeper) HashAll

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveHash

func (k Keeper) RemoveHash(
	ctx sdk.Context,
	index string,

)

RemoveHash removes a hash from the store

func (Keeper) SetHash

func (k Keeper) SetHash(ctx sdk.Context, hash types.Hash)

SetHash set a specific hash in the store from its index

func (Keeper) SetParams

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

SetParams set the params

Jump to

Keyboard shortcuts

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