wasm

package
v0.0.0-...-79e0140 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllContracts

func GetAllContracts(tx *juno.Tx, index int, eventType string) ([]string, error)

func WasmMessagesParser

func WasmMessagesParser(_ codec.Codec, cosmosMsg sdk.Msg) ([]string, error)

Types

type Module

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

Module represents the x/wasm module handler

func NewModule

func NewModule(db *database.Db, client wasmtypes.QueryClient) *Module

NewModule allows to build a new Module instance

func (*Module) HandleMsg

func (m *Module) HandleMsg(index int, msg sdk.Msg, tx *juno.Tx) error

HandleMsg implements modules.MessageModule

func (*Module) Name

func (m *Module) Name() string

Name implements modules.Module

Jump to

Keyboard shortcuts

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