keeper

package
v0.0.15-testnet Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 16 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,
	ps paramtypes.Subspace,
) *Keeper

func (Keeper) GetByWallet added in v0.0.6

func (k Keeper) GetByWallet(ctx sdk.Context, wallet string) (types.Investor, error)

func (Keeper) GetInvestor

func (k Keeper) GetInvestor(ctx sdk.Context, investorID string) types.Investor

func (Keeper) GetInvestorWallets added in v0.0.6

func (k Keeper) GetInvestorWallets(ctx sdk.Context, investorID string) (types.Investor, error)

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) GetProjects

func (k Keeper) GetProjects(ctx sdk.Context) []*types.ProjectInfo

func (Keeper) GetSubmitter

func (k Keeper) GetSubmitter(ctx sdk.Context) (submitters []sdk.AccAddress)

func (Keeper) ListInvestors

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) QueryByWallet

func (Keeper) SetInvestor

func (k Keeper) SetInvestor(ctx sdk.Context, investor types.Investor) *types.Investor

SetInvestor set a specific issueToken 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