Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Airdrop(goCtx context.Context, req *types.QueryGetAirdropRequest) (*types.QueryGetAirdropResponse, error)
- func (k Keeper) AirdropAll(goCtx context.Context, req *types.QueryAllAirdropRequest) (*types.QueryAllAirdropResponse, error)
- func (k Keeper) GenesisInflation(goCtx context.Context, req *types.QueryGetGenesisInflationRequest) (*types.QueryGetGenesisInflationResponse, error)
- func (k Keeper) GetAirdrop(ctx sdk.Context, intent string) (val types.Airdrop, found bool)
- func (k Keeper) GetAllAirdrop(ctx sdk.Context) (list []types.Airdrop)
- func (k Keeper) GetAllTimeBasedInflation(ctx sdk.Context) (list []types.TimeBasedInflation)
- func (k Keeper) GetGenesisInflation(ctx sdk.Context) (val types.GenesisInflation, found bool)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetTimeBasedInflation(ctx sdk.Context, startBlockHeight uint64, endBlockHeight uint64) (val types.TimeBasedInflation, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) RemoveAirdrop(ctx sdk.Context, intent string)
- func (k Keeper) RemoveGenesisInflation(ctx sdk.Context)
- func (k Keeper) RemoveTimeBasedInflation(ctx sdk.Context, startBlockHeight uint64, endBlockHeight uint64)
- func (k Keeper) SetAirdrop(ctx sdk.Context, airdrop types.Airdrop)
- func (k Keeper) SetGenesisInflation(ctx sdk.Context, genesisInflation types.GenesisInflation)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetTimeBasedInflation(ctx sdk.Context, timeBasedInflation types.TimeBasedInflation)
- func (k Keeper) TimeBasedInflation(goCtx context.Context, req *types.QueryGetTimeBasedInflationRequest) (*types.QueryGetTimeBasedInflationResponse, error)
- func (k Keeper) TimeBasedInflationAll(goCtx context.Context, req *types.QueryAllTimeBasedInflationRequest) (*types.QueryAllTimeBasedInflationResponse, 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 Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, authority string, ) *Keeper
func (Keeper) Airdrop ¶
func (k Keeper) Airdrop(goCtx context.Context, req *types.QueryGetAirdropRequest) (*types.QueryGetAirdropResponse, error)
func (Keeper) AirdropAll ¶
func (k Keeper) AirdropAll(goCtx context.Context, req *types.QueryAllAirdropRequest) (*types.QueryAllAirdropResponse, error)
func (Keeper) GenesisInflation ¶
func (k Keeper) GenesisInflation(goCtx context.Context, req *types.QueryGetGenesisInflationRequest) (*types.QueryGetGenesisInflationResponse, error)
func (Keeper) GetAirdrop ¶
GetAirdrop returns a airdrop from its index
func (Keeper) GetAllAirdrop ¶
GetAllAirdrop returns all airdrop
func (Keeper) GetAllTimeBasedInflation ¶
func (k Keeper) GetAllTimeBasedInflation(ctx sdk.Context) (list []types.TimeBasedInflation)
GetAllTimeBasedInflation returns all timeBasedInflation
func (Keeper) GetGenesisInflation ¶
GetGenesisInflation returns genesisInflation
func (Keeper) GetTimeBasedInflation ¶
func (k Keeper) GetTimeBasedInflation( ctx sdk.Context, startBlockHeight uint64, endBlockHeight uint64, ) (val types.TimeBasedInflation, found bool)
GetTimeBasedInflation returns a timeBasedInflation from its index
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) RemoveAirdrop ¶
RemoveAirdrop removes a airdrop from the store
func (Keeper) RemoveGenesisInflation ¶
RemoveGenesisInflation removes genesisInflation from the store
func (Keeper) RemoveTimeBasedInflation ¶
func (k Keeper) RemoveTimeBasedInflation( ctx sdk.Context, startBlockHeight uint64, endBlockHeight uint64, )
RemoveTimeBasedInflation removes a timeBasedInflation from the store
func (Keeper) SetAirdrop ¶
SetAirdrop set a specific airdrop in the store from its index
func (Keeper) SetGenesisInflation ¶
func (k Keeper) SetGenesisInflation(ctx sdk.Context, genesisInflation types.GenesisInflation)
SetGenesisInflation set genesisInflation in the store
func (Keeper) SetTimeBasedInflation ¶
func (k Keeper) SetTimeBasedInflation(ctx sdk.Context, timeBasedInflation types.TimeBasedInflation)
SetTimeBasedInflation set a specific timeBasedInflation in the store from its index
func (Keeper) TimeBasedInflation ¶
func (k Keeper) TimeBasedInflation(goCtx context.Context, req *types.QueryGetTimeBasedInflationRequest) (*types.QueryGetTimeBasedInflationResponse, error)
func (Keeper) TimeBasedInflationAll ¶
func (k Keeper) TimeBasedInflationAll(goCtx context.Context, req *types.QueryAllTimeBasedInflationRequest) (*types.QueryAllTimeBasedInflationResponse, error)