wasm

package
v0.29.15 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 19 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 AMM module.

func NewMessenger

func NewMessenger(keeper *keeper.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 AMM module.

func NewQuerier

func NewQuerier(
	keeper *keeper.Keeper,
	bankKeeper *bankkeeper.BaseKeeper,
	commitmentKeeper *commitmentkeeper.Keeper,
	assetProfileKeeper *assetprofilekeeper.Keeper,
	perpetualKeeper *perpetualkeeper.Keeper,
	incentiveKeeper *incentivekeeper.Keeper,
	oraclekeeper *oraclekeeper.Keeper,
	leveragelpKeeper *leveragelpkeeper.Keeper,
	accountedpoolKeeper *accountedpoolkeeper.Keeper,
	stablestakeKeeper *stablestakekeeper.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