keeper

package
v0.0.0-...-891b8cb Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMsgServerImpl

func NewMsgServerImpl(keeper *Keeper) types.MsgServer

Types

type Keeper

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

func NewKeeper

func NewKeeper(cdc codec.BinaryCodec, key sdk.StoreKey, paramSpace paramtypes.Subspace) Keeper

func (Keeper) ExportGenesis

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

func (Keeper) GetChainState

func (k Keeper) GetChainState(ctx sdk.Context, chainDenom string) (*types.ChainInfo, error)

func (Keeper) GetOracleVersion

func (k Keeper) GetOracleVersion(ctx sdk.Context, chainDenom string) (int64, error)

func (Keeper) GetParams

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

GetParams gets the auth module's parameters.

func (Keeper) InitGenesis

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

func (Keeper) IsValidOperator

func (k Keeper) IsValidOperator(ctx sdk.Context, operatorAddress string) bool

func (Keeper) Logger

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

func (Keeper) SetParams

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

SetParams sets the auth module's parameters.

func (Keeper) UpdateChainState

func (k Keeper) UpdateChainState(ctx sdk.Context, chainInfo *types.ChainInfo) error

type Querier

type Querier struct {
	Keeper
}

func NewQuerier

func NewQuerier(k Keeper) Querier

func (Querier) Params

func (Querier) State

Jump to

Keyboard shortcuts

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