evm

package
v0.0.0-...-ec6187d Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocMsgEthereumTx

type DocMsgEthereumTx struct {
	Data     string  `bson:"data"`
	Size_    float64 `bson:"size"`
	Hash     string  `bson:"hash"`
	From     string  `bson:"from"`
	FeePayer string  `bson:"fee_payer"`
}

MsgEthereumTx encapsulates an Ethereum transaction as an SDK message.

func (*DocMsgEthereumTx) BuildMsg

func (doctx *DocMsgEthereumTx) BuildMsg(txMsg interface{})

func (*DocMsgEthereumTx) GetType

func (doctx *DocMsgEthereumTx) GetType() string

func (*DocMsgEthereumTx) HandleTxMsg

func (m *DocMsgEthereumTx) HandleTxMsg(v SdkMsg) MsgDocInfo

type EvmClient

type EvmClient struct {
}

func NewClient

func NewClient() EvmClient

func (EvmClient) HandleTxMsg

func (evm EvmClient) HandleTxMsg(v types.Msg) (MsgDocInfo, bool)

Jump to

Keyboard shortcuts

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