Documentation ¶
Index ¶
- type Keeper
- func (k Keeper) CheckFees(ctx sdk.Context, msgs []sdk.Msg, fees sdk.Coins) error
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetParams(ctx sdk.Context) (p types.Params)
- func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(goCtx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- type MinFeeDecorator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper(cdc codec.BinaryCodec, paramSpace paramstypes.Subspace) Keeper
func (Keeper) CheckFees ¶
CheckFees checks whether the given fees are sufficient to pay for all the given messages. The check is performed considering the minimum fee amount specified inside the module parameters for each message and by summing them up.
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis returns the GenesisState associated with the given context
func (Keeper) InitGenesis ¶
func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)
InitGenesis initializes the chain state based on the given GenesisState
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params implements the Query/Params gRPC method
type MinFeeDecorator ¶
type MinFeeDecorator struct {
// contains filtered or unexported fields
}
func NewMinFeeDecorator ¶
func NewMinFeeDecorator(feesKeeper Keeper) MinFeeDecorator
func (MinFeeDecorator) AnteHandle ¶
Click to show internal directories.
Click to hide internal directories.