keeper

package
v5.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServer

func NewMsgServer(kb Builder) ugov.MsgServer

NewMsgServer returns an implementation of uibc.MsgServer

Types

type Builder

type Builder struct {
	Cdc codec.BinaryCodec
	// contains filtered or unexported fields
}

Builder constructs Keeper by perparing all related dependencies (notably the store).

func NewKeeperBuilder

func NewKeeperBuilder(
	cdc codec.BinaryCodec, key storetypes.StoreKey) Builder

func (Builder) Keeper

func (kb Builder) Keeper(ctx *sdk.Context) Keeper

type Keeper

type Keeper struct {
	// contains filtered or unexported fields
}

Keeper provides a light interface for module data access and transformation

func (Keeper) ExportGenesis

func (k Keeper) ExportGenesis() *ugov.GenesisState

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(gs *ugov.GenesisState) error

func (Keeper) MinGasPrice

func (k Keeper) MinGasPrice() sdk.DecCoin

func (Keeper) SetMinGasPrice

func (k Keeper) SetMinGasPrice(p sdk.DecCoin) error

type Querier

type Querier struct {
	Builder
}

Querier implements a QueryServer for the x/uibc module.

func NewQuerier

func NewQuerier(kb Builder) Querier

func (Querier) MinGasPrice

MinTxFees returns minimum transaction fees.

Jump to

Keyboard shortcuts

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