evm

package
v6.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorCodespace = "evm_wasmbinding"
)

Variables

View Source
var (
	ErrExecutionReverted = errorsmod.Register(ErrorCodespace, 1, "execution reverted")
	ErrExecutingEthCall  = errorsmod.Register(ErrorCodespace, 2, "error executing eth call")
)

Functions

This section is empty.

Types

type QueryPlugin

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

QueryPlugin is a custom query plugin for the EVM module

func NewQueryPlugin

func NewQueryPlugin(ek *evmkeeper.Keeper) *QueryPlugin

NewQueryPlugin returns a reference to a new QueryPlugin for the EVM module

func (*QueryPlugin) HandleERC20Allowance

HandleERC20Allowance handles the ERC20Allowance query

func (*QueryPlugin) HandleERC20Balance

HandleERC20Balance handles the ERC20Balance query

func (*QueryPlugin) HandleERC20Information

HandleERC20Information handles the ERC20Information query Since we are using a ABI, we don't need to timeout the call

func (*QueryPlugin) HandleEVMQuery

func (qp *QueryPlugin) HandleEVMQuery(ctx sdk.Context, evmQuery evmbindingtypes.Query) ([]byte, error)

HandleEVMQuery is a custom querier for the EVM module

func (*QueryPlugin) HandleEthCall

HandleEthCall handles the EthCall query

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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