keeper

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryParameters          = "parameters"
	QueryFeeExcludedMessages = "excluded-messages"
)

Variables

This section is empty.

Functions

func NewQuerier

func NewQuerier(k Keeper) sdk.Querier

Types

type Keeper

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

func NewKeeper

func NewKeeper(cdc *codec.Codec, key sdk.StoreKey, paramspace params.Subspace) Keeper

func (Keeper) FeePercentage

func (k Keeper) FeePercentage(ctx sdk.Context) (res sdk.Dec)

FeePercentage

func (Keeper) GetFeeExcludedMessageIterator

func (k Keeper) GetFeeExcludedMessageIterator(ctx sdk.Context) sdk.Iterator

func (Keeper) GetFeeExcludedMessages

func (k Keeper) GetFeeExcludedMessages(ctx sdk.Context) []string

func (Keeper) GetParams

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

func (Keeper) IsMessageFeeExcluded

func (k Keeper) IsMessageFeeExcluded(ctx sdk.Context, msg sdk.Msg) bool

func (Keeper) IterateFeeExcludedMessages

func (k Keeper) IterateFeeExcludedMessages(ctx sdk.Context, cb func(msgType string) (stop bool))

func (Keeper) Logger

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

func (Keeper) MaximumFee added in v0.2.0

func (k Keeper) MaximumFee(ctx sdk.Context) (res sdk.Coins)

Maximum Fee

func (Keeper) MinimumFee

func (k Keeper) MinimumFee(ctx sdk.Context) (res sdk.Coins)

MinimumFee

func (Keeper) RemoveFeeExcludedMessage

func (k Keeper) RemoveFeeExcludedMessage(ctx sdk.Context, msgType string)

func (Keeper) SetFeeExcludedMessage

func (k Keeper) SetFeeExcludedMessage(ctx sdk.Context, msgType string)

func (Keeper) SetParams

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

Jump to

Keyboard shortcuts

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