Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
- type Keeper
- func (k Keeper) DeductCreationFee(ctx sdk.Context, owner sdk.AccAddress) error
- func (k Keeper) DeleteMerkledropByID(ctx sdk.Context, id uint64) error
- func (k Keeper) GetAllIndexes(ctx sdk.Context) []*types.Indexes
- func (k Keeper) GetAllIndexesByMerkledropID(ctx sdk.Context, id uint64) []uint64
- func (k Keeper) GetAllMerkleDrops(ctx sdk.Context) []types.Merkledrop
- func (k Keeper) GetLastMerkleDropId(ctx sdk.Context) uint64
- func (k Keeper) GetMerkleDropsIDByEndHeight(ctx sdk.Context, endHeight int64) []uint64
- func (k Keeper) GetParamSet(ctx sdk.Context) types.Params
- func (k Keeper) IndexClaimed(c context.Context, req *types.QueryIndexClaimedRequest) (*types.QueryIndexClaimedResponse, error)
- func (k Keeper) IsClaimed(ctx sdk.Context, mdId, index uint64) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Merkledrop(c context.Context, req *types.QueryMerkledropRequest) (*types.QueryMerkledropResponse, error)
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetClaimed(ctx sdk.Context, mdId, index uint64)
- func (k Keeper) SetLastMerkleDropId(ctx sdk.Context, id uint64)
- func (k Keeper) SetMerkleDrop(ctx sdk.Context, merkledrop types.Merkledrop) error
- func (k Keeper) SetParamSet(ctx sdk.Context, params types.Params)
- func (k Keeper) Withdraw(ctx sdk.Context, merkledropID uint64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
func NewQuerier ¶
func NewQuerier(k Keeper, legacyQuerierCdc *codec.LegacyAmino) sdk.Querier
NewQuerier returns a new sdk.Keeper instance.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.Codec, key sdk.StoreKey, ak types.AccountKeeper, bk types.BankKeeper, dk types.DistrKeeper, paramSpace paramstypes.Subspace, ) Keeper
func (Keeper) DeductCreationFee ¶
DeductCreationFee performs fee handling for merkledrop creation
func (Keeper) DeleteMerkledropByID ¶
func (Keeper) GetAllIndexesByMerkledropID ¶
func (Keeper) GetAllMerkleDrops ¶
func (k Keeper) GetAllMerkleDrops(ctx sdk.Context) []types.Merkledrop
func (Keeper) GetMerkleDropsIDByEndHeight ¶
func (Keeper) GetParamSet ¶
GetParamSet returns token params from the global param store
func (Keeper) IndexClaimed ¶
func (k Keeper) IndexClaimed(c context.Context, req *types.QueryIndexClaimedRequest) (*types.QueryIndexClaimedResponse, error)
func (Keeper) Merkledrop ¶
func (k Keeper) Merkledrop(c context.Context, req *types.QueryMerkledropRequest) (*types.QueryMerkledropResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params return the all the parameter in fantoken module
func (Keeper) SetMerkleDrop ¶
func (Keeper) SetParamSet ¶
SetParamSet sets token params to the global param store
Click to show internal directories.
Click to hide internal directories.