Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) CreateProject(goCtx context.Context, msg *types.MsgCreateProject) (*types.MSgCreateProjectResponse, error)
- func (k Keeper) GetByWallet(ctx sdk.Context, wallet string) (types.Investor, error)
- func (k Keeper) GetInvestor(ctx sdk.Context, investorID string) types.Investor
- func (k Keeper) GetInvestorWallets(ctx sdk.Context, investorID string) (types.Investor, error)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetProject(ctx sdk.Context, index int32) (val types.ProjectInfo, found bool)
- func (k Keeper) GetSubmitter(ctx sdk.Context) (submitters []sdk.AccAddress)
- func (k Keeper) ListAllProjects(goCtx context.Context, req *types.ListAllProjectsRequest) (*types.ListAllProjectsResponse, error)
- func (k Keeper) ListInvestors(goCtx context.Context, req *types.ListInvestorsRequest) (*types.ListInvestorsResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) QueryByWallet(goCtx context.Context, req *types.QueryByWalletRequest) (*types.QueryByWalletResponse, error)
- func (k Keeper) QueryInvestorWallets(goCtx context.Context, req *types.QueryInvestorWalletsRequest) (*types.QueryInvestorWalletsResponse, error)
- func (k Keeper) QueryProject(goCtx context.Context, req *types.QueryProjectRequest) (*types.QueryProjectResponse, error)
- func (k Keeper) SetInvestor(ctx sdk.Context, investor types.Investor) *types.Investor
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetProject(ctx sdk.Context, p *types.ProjectInfo) (int32, error)
- type Migrator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
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, authority sdk.AccAddress, ) *Keeper
func (Keeper) CreateProject ¶ added in v0.1.0
func (k Keeper) CreateProject(goCtx context.Context, msg *types.MsgCreateProject) (*types.MSgCreateProjectResponse, error)
CreateProject create a new project
func (Keeper) GetByWallet ¶ added in v0.0.6
func (Keeper) GetInvestor ¶
func (Keeper) GetInvestorWallets ¶ added in v0.0.6
func (Keeper) GetProject ¶ added in v0.1.0
func (Keeper) GetSubmitter ¶
func (k Keeper) GetSubmitter(ctx sdk.Context) (submitters []sdk.AccAddress)
func (Keeper) ListAllProjects ¶ added in v0.1.0
func (k Keeper) ListAllProjects(goCtx context.Context, req *types.ListAllProjectsRequest) (*types.ListAllProjectsResponse, error)
func (Keeper) ListInvestors ¶
func (k Keeper) ListInvestors(goCtx context.Context, req *types.ListInvestorsRequest) (*types.ListInvestorsResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) QueryByWallet ¶
func (k Keeper) QueryByWallet(goCtx context.Context, req *types.QueryByWalletRequest) (*types.QueryByWalletResponse, error)
func (Keeper) QueryInvestorWallets ¶
func (k Keeper) QueryInvestorWallets(goCtx context.Context, req *types.QueryInvestorWalletsRequest) (*types.QueryInvestorWalletsResponse, error)
func (Keeper) QueryProject ¶ added in v0.1.0
func (k Keeper) QueryProject(goCtx context.Context, req *types.QueryProjectRequest) (*types.QueryProjectResponse, error)
func (Keeper) SetInvestor ¶
SetInvestor set a specific issueToken in the store from its index
func (Keeper) SetProject ¶ added in v0.1.0
type Migrator ¶ added in v0.1.0
type Migrator struct {
// contains filtered or unexported fields
}
Migrator is a struct for handling in-place store migrations.
func NewMigrator ¶ added in v0.1.0
NewMigrator returns a new Migrator.
Click to show internal directories.
Click to hide internal directories.