Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) GasPerBlobByte(ctx sdk.Context) (res uint32)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MaxSquareSize(ctx sdk.Context) (res uint32)
- func (k Keeper) MinSquareSize(ctx sdk.Context) (res uint32)
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) PayForBlobs(goCtx context.Context, msg *types.MsgPayForBlobs) (*types.MsgPayForBlobsResponse, error)
- 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 blob MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper handles all the state changes for the blob module.
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, ps paramtypes.Subspace, ) *Keeper
func (Keeper) GasPerBlobByte ¶
GasPerBlobByte returns the GasPerBlobByte param
func (Keeper) MaxSquareSize ¶
MaxSquareSize returns the MaxSquareSize param
func (Keeper) MinSquareSize ¶
MinSquareSize returns the MinSquareSize param
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) PayForBlobs ¶
func (k Keeper) PayForBlobs(goCtx context.Context, msg *types.MsgPayForBlobs) (*types.MsgPayForBlobsResponse, error)
PayForBlobs consumes gas based on the blob sizes in the MsgPayForBlobs.
Click to show internal directories.
Click to hide internal directories.