wasm

package
v0.49.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Messenger

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

Messenger handles messages for the Masterchef module.

func NewMessenger

func NewMessenger(
	keeper *keeper.Keeper,
	stakingKeeper *stakingkeeper.Keeper,
	commitmentKeeper *commitmentkeeper.Keeper,
	parameterKeeper *parameterkeeper.Keeper,
) *Messenger

func (*Messenger) HandleMsg

func (m *Messenger) HandleMsg(ctx sdk.Context, contractAddr sdk.AccAddress, contractIBCPortID string, msg wasmbindingstypes.ElysMsg) ([]sdk.Event, [][]byte, error)

type Querier

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

Querier handles queries for the Masterchef module.

func NewQuerier

func NewQuerier(keeper *keeper.Keeper, stakingKeeper *stakingkeeper.Keeper) *Querier

func (*Querier) HandleQuery

func (oq *Querier) HandleQuery(ctx sdk.Context, query wasmbindingstypes.ElysQuery) ([]byte, error)

Jump to

Keyboard shortcuts

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