keeper

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 10 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 gasestimate MsgServer interface for the provided Keeper.

func NewQuerier

func NewQuerier(keeper Keeper) types.QueryServer

NewQuerier returns an implementation of the gasestimate QueryServer interface for the provided Keeper.

Types

type Keeper

type Keeper struct {
	IBCKeeper  *ibctransfer.Keeper
	BankKeeper types.BankKeeper
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey storetypes.StoreKey,
	authority string,
) Keeper

NewKeeper constructs a new keeper for gasestimate module.

func (Keeper) GetGasEstimate

func (k Keeper) GetGasEstimate(ctx sdk.Context, network string) (types.GasEstimate, error)

get gas estimates

func (Keeper) GetParams

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

GetParams gets the gasestimate module's parameters.

func (Keeper) Logger

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

Logger returns a module-specific logger.

func (Keeper) SetGasEstimate

func (k Keeper) SetGasEstimate(ctx sdk.Context, gasEstimate types.GasEstimate)

set gas estimates

func (Keeper) SetParams

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

SetParams sets the gasestimate module's parameters.

Jump to

Keyboard shortcuts

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