keeper

package
v0.13.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

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

func (k Keeper) GasPerBlobByte(ctx sdk.Context) (res uint32)

GasPerBlobByte returns the GasPerBlobByte param

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) types.Params

GetParams gets all parameters as types.Params

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) MaxSquareSize

func (k Keeper) MaxSquareSize(ctx sdk.Context) (res uint32)

MaxSquareSize returns the MaxSquareSize param

func (Keeper) MinSquareSize

func (k Keeper) MinSquareSize(ctx sdk.Context) (res uint32)

MinSquareSize returns the MinSquareSize param

func (Keeper) Params

func (Keeper) PayForBlobs

PayForBlobs consumes gas based on the blob sizes in the MsgPayForBlobs.

func (Keeper) SetParams

func (k Keeper) SetParams(ctx sdk.Context, params types.Params)

SetParams sets the params

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL