keeper

package
v1.2.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 20 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,
	proto codec.JSONCodec,
	storeKey,
	memKey storetypes.StoreKey,
	ps paramtypes.Subspace,
	authKeeper types.AccountKeeper,
) *Keeper
func (k Keeper) AppendPayloadLink(ctx sdk.Context, key string, value string) error

func (Keeper) AppendSignature

func (k Keeper) AppendSignature(ctx sdk.Context, storageKey string, signature types.Signature) string

func (Keeper) CreateReferenceId

CreateReferenceID creates a referenceID and verifies that is has not been used yet

func (Keeper) GetParams

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

GetParams returns the current x/mint module parameters.

func (k Keeper) GetPayloadLink(ctx sdk.Context, referenceID string) (string, error)

func (Keeper) GetSignature

func (k Keeper) GetSignature(ctx sdk.Context, storageKey string) (*types.Signature, error)

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) SetParams

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

SetParams sets the x/mint module parameters.

Jump to

Keyboard shortcuts

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