Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Airdrop(c context.Context, msg *types.QueryAirdropRequest) (*types.QueryAirdropResponse, error)
- func (k Keeper) Airdrops(c context.Context, msg *types.QueryAirdropsRequest) (*types.QueryAirdropsResponse, error)
- func (k Keeper) AllocateAtGenesis(ctx sdk.Context, genState types.GenesisState)
- func (k Keeper) ClaimVested(ctx sdk.Context)
- func (k Keeper) DeleteAirdrop(ctx sdk.Context, acc sdk.AccAddress)
- func (k Keeper) GetAirdrop(ctx sdk.Context, acc sdk.AccAddress) types.Airdrop
- func (k Keeper) GetAirdropCompleted(ctx sdk.Context, acc sdk.AccAddress) types.Airdrop
- func (k Keeper) GetAirdropTotalAmount(ctx sdk.Context) sdk.Int
- func (k Keeper) GetAllocationAddresses(ctx sdk.Context) types.AllocationAddresses
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) IterateAirdrops(ctx sdk.Context, handler func(airdrop types.Airdrop) (stop bool))
- func (k Keeper) IterateAirdropsCompleted(ctx sdk.Context, handler func(airdrop types.Airdrop) (stop bool))
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, msg *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetAirdrop(ctx sdk.Context, acc sdk.AccAddress, airdrop types.Airdrop)
- func (k Keeper) SetAirdropCompleted(ctx sdk.Context, acc sdk.AccAddress, airdrop types.Airdrop)
- func (k Keeper) SetAirdropTotalAmount(ctx sdk.Context, total sdk.Int)
- func (k Keeper) SetAllocationAddresses(ctx sdk.Context, addresses types.AllocationAddresses)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
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 sdk.StoreKey, ps paramtypes.Subspace, accountKeeper types.AccountKeeper, bankKeeper types.BankKeeper, distrKeeper types.DistributionKeeper, veKeeper types.VeKeeper, feeCollectorName string, ) *Keeper
NewKeeper creates a new vesting Keeper instance
func (Keeper) Airdrop ¶
func (k Keeper) Airdrop(c context.Context, msg *types.QueryAirdropRequest) (*types.QueryAirdropResponse, error)
func (Keeper) Airdrops ¶
func (k Keeper) Airdrops(c context.Context, msg *types.QueryAirdropsRequest) (*types.QueryAirdropsResponse, error)
func (Keeper) AllocateAtGenesis ¶
func (k Keeper) AllocateAtGenesis(ctx sdk.Context, genState types.GenesisState)
func (Keeper) ClaimVested ¶
func (Keeper) DeleteAirdrop ¶
func (k Keeper) DeleteAirdrop(ctx sdk.Context, acc sdk.AccAddress)
DeleteAirdrop deletes airdrop target
func (Keeper) GetAirdrop ¶
GetAirdrop gets airdrop target
func (Keeper) GetAirdropCompleted ¶
GetAirdropCompleted gets completed airdrop target
func (Keeper) GetAirdropTotalAmount ¶
GetAirdropTotalAmount gets airdrop total amount
func (Keeper) GetAllocationAddresses ¶
func (k Keeper) GetAllocationAddresses(ctx sdk.Context) types.AllocationAddresses
GetAllocationAddresses gets allocation target addresses
func (Keeper) IterateAirdrops ¶
IterateAirdrops iterates airdrop targets
func (Keeper) IterateAirdropsCompleted ¶
func (k Keeper) IterateAirdropsCompleted(ctx sdk.Context, handler func(airdrop types.Airdrop) (stop bool))
IterateAirdropsCompleted iterates completed airdrop targets
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, msg *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) SetAirdrop ¶
SetAirdrop sets airdrop target
func (Keeper) SetAirdropCompleted ¶
SetAirdropCompleted sets completed airdrop target
func (Keeper) SetAirdropTotalAmount ¶
SetAirdropTotalAmount sets airdrop total amount
func (Keeper) SetAllocationAddresses ¶
func (k Keeper) SetAllocationAddresses(ctx sdk.Context, addresses types.AllocationAddresses)
SetAllocationAddresses sets allocation target addresses