keeper

package
v0.3.0-dev.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: GPL-3.0 Imports: 14 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 MsgServer interface for the provided Keeper.

Types

type Keeper

type Keeper struct {
	Schema collections.Schema
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec, storeService storetypes.KVStoreService, authority string) *Keeper

func (*Keeper) EndBlock

func (k *Keeper) EndBlock(ctx sdk.Context) (err error)

func (Keeper) ExportGenesis

func (k Keeper) ExportGenesis(ctx sdk.Context) types.GenesisState

ExportGenesis extracts all data from store to genesis state.

func (Keeper) GetAuthority

func (k Keeper) GetAuthority() string

GetAuthority returns the module's authority.

func (Keeper) GetDataProxyConfig

func (k Keeper) GetDataProxyConfig(ctx context.Context, pubKey []byte) (result types.ProxyConfig, err error)

func (Keeper) GetFeeUpdatePubKeys

func (k Keeper) GetFeeUpdatePubKeys(ctx sdk.Context, activationHeight int64) ([][]byte, error)

func (Keeper) GetMinimumUpdateDelay

func (k Keeper) GetMinimumUpdateDelay(ctx sdk.Context) (uint32, error)

func (Keeper) HasDataProxy

func (k Keeper) HasDataProxy(ctx sdk.Context, pubKey []byte) (bool, error)

func (Keeper) HasFeeUpdate

func (k Keeper) HasFeeUpdate(ctx sdk.Context, height int64, pubKey []byte) (bool, error)

func (Keeper) InitGenesis

func (k Keeper) InitGenesis(ctx sdk.Context, data types.GenesisState)

InitGenesis initializes the store based on the given genesis state.

func (Keeper) Logger

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

func (*Keeper) ProcessFeeUpdates

func (k *Keeper) ProcessFeeUpdates(ctx sdk.Context) error

func (Keeper) RemoveFeeUpdate

func (k Keeper) RemoveFeeUpdate(ctx sdk.Context, height int64, pubKey []byte) error

func (Keeper) SetDataProxyConfig

func (k Keeper) SetDataProxyConfig(ctx context.Context, pubKey []byte, proxyConfig types.ProxyConfig) error

func (Keeper) SetFeeUpdate

func (k Keeper) SetFeeUpdate(ctx sdk.Context, height int64, pubKey []byte) error

func (Keeper) SetParams

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

type Querier

type Querier struct {
	Keeper
}

Jump to

Keyboard shortcuts

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