Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper *Keeper) types.MsgServer
- type Hooks
- type Keeper
- func (k Keeper) AfterProjectDeteted(ctx sdk.Context, projectId uint64)
- func (k Keeper) AfterWithdrawTokens(ctx sdk.Context, projectId uint64)
- func (k Keeper) BeginBlocker(ctx sdk.Context)
- func (k Keeper) CalculateCommitTokens(tokenDistribution, tokenListingPrice sdk.Coins, distributionDenom string) sdk.Coins
- func (k Keeper) CalculateDistributionTokens(tokenCommit, tokenListingPrice sdk.Coins, distributionDenom string) sdk.Coins
- func (k Keeper) CommitParticipation(ctx sdk.Context, participant sdk.AccAddress, ...) error
- func (k Keeper) DeleteIDOById(ctx sdk.Context, projectId uint64)
- func (k Keeper) EnableIDO(ctx sdk.Context, owner sdk.AccAddress, msg *types.MsgEnableIDORequest) error
- func (k Keeper) GetIDOByID(ctx sdk.Context, project_id uint64) (types.IDO, error)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) HasIDO(ctx sdk.Context, project_id uint64) bool
- func (k Keeper) Hooks() Hooks
- func (k Keeper) IterateIDO(ctx sdk.Context, fn func(index int64, ido types.IDO) (stop bool))
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MarshalIDO(ido types.IDO) ([]byte, error)
- func (k Keeper) SetIDO(ctx sdk.Context, ido types.IDO) error
- func (k Keeper) SetIDOAndRegisterLaunchpad(ctx sdk.Context, ido types.IDO) error
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) UnmarshalIDO(bz []byte) (types.IDO, error)
- type Querier
- func (q Querier) IDO(goCtx context.Context, req *types.IDORequest) (*types.IDOResponse, error)
- func (q Querier) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (q Querier) TotalIDO(ctx context.Context, req *types.TotalIDORequest) (*types.TotalIDOResponse, error)
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 Hooks ¶
type Hooks struct {
// contains filtered or unexported fields
}
Hooks wrapper struct for incentives keeper.
func (Hooks) AfterProjectDeteted ¶
hooks.
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, launchpadKeeper types.LaunchpadKeeper, bankKeeper types.BankKeeper, accKeeper types.AccountKeeper, ) *Keeper
func (Keeper) AfterProjectDeteted ¶
func (Keeper) AfterWithdrawTokens ¶
func (Keeper) BeginBlocker ¶
func (Keeper) CalculateCommitTokens ¶
func (Keeper) CalculateDistributionTokens ¶
func (Keeper) CommitParticipation ¶
func (k Keeper) CommitParticipation(ctx sdk.Context, participant sdk.AccAddress, msg *types.MsgCommitParticipationRequest) error
func (Keeper) EnableIDO ¶
func (k Keeper) EnableIDO(ctx sdk.Context, owner sdk.AccAddress, msg *types.MsgEnableIDORequest) error
func (Keeper) GetIDOByID ¶
func (Keeper) IterateIDO ¶
func (Keeper) SetIDOAndRegisterLaunchpad ¶
type Querier ¶
type Querier struct {
Keeper
}
func NewQuerier ¶
func (Querier) IDO ¶
func (q Querier) IDO(goCtx context.Context, req *types.IDORequest) (*types.IDOResponse, error)
func (Querier) Params ¶
func (q Querier) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Querier) TotalIDO ¶
func (q Querier) TotalIDO(ctx context.Context, req *types.TotalIDORequest) (*types.TotalIDOResponse, error)
Click to show internal directories.
Click to hide internal directories.