keeper

package
v0.0.0-...-3aeaace Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 24 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 {
	// contains filtered or unexported fields
}

func NewKeeper

func NewKeeper(
	cdc codec.BinaryCodec,
	storeKey,
	memKey storetypes.StoreKey,
	ps paramtypes.Subspace,

	fixKeeper fixKeeper.Keeper,
) *Keeper

func (Keeper) GetAllMultiChainTxOracle

func (k Keeper) GetAllMultiChainTxOracle(ctx sdk.Context) (list []types.MultiChainTxOracle)

GetAllMultiChainTxOracle returns all multiChainTxOracle

func (Keeper) GetMultiChainTxOracle

func (k Keeper) GetMultiChainTxOracle(ctx sdk.Context, oracleID string) (val types.MultiChainTxOracle, found bool)

GetMultiChainTxOracle returns a multiChainTxOracle from its id

func (Keeper) GetMultiChainTxOracleCount

func (k Keeper) GetMultiChainTxOracleCount(ctx sdk.Context) uint64

GetMultiChainTxOracleCount get the total number of multiChainTxOracle

func (Keeper) GetParams

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

GetParams get all parameters as types.Params

func (Keeper) Logger

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

func (Keeper) Params

func (Keeper) RemoveMultiChainTxOracle

func (k Keeper) RemoveMultiChainTxOracle(ctx sdk.Context, oracleID string)

RemoveMultiChainTxOracle removes a multiChainTxOracle from the store

func (Keeper) SetMultiChainTxOracle

func (k Keeper) SetMultiChainTxOracle(ctx sdk.Context, oracleID string, multiChainTxOracle types.MultiChainTxOracle)

SetMultiChainTxOracle set a specific multiChainTxOracle in the store

func (Keeper) SetMultiChainTxOracleCount

func (k Keeper) SetMultiChainTxOracleCount(ctx sdk.Context, count uint64)

SetMultiChainTxOracleCount set the total number of multiChainTxOracle

func (Keeper) SetParams

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

SetParams set the params

Jump to

Keyboard shortcuts

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