executor

package
v1.66.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LockMethod = "lock"
)

Variables

View Source
var (
	//KeyPrefixStateDB state db key必须前缀
	KeyPrefixStateDB = "mavl-evmxgo-statedb"
	//KeyPrefixLocalDB local db的key必须前缀
	KeyPrefixLocalDB = "LODB-evmxgo-"
)

Functions

func AddTokenToAssets

func AddTokenToAssets(addr string, db dbm.KVDB, symbol string) []*types.KeyValue

AddTokenToAssets 添加个人资产列表

func GetName

func GetName() string

GetName get driver name

func Init

func Init(name string, cfg *types.Chain33Config, sub []byte)

Init register dapp

func InitExecType

func InitExecType()

InitExecType Init Exec Type

func NewLogsTable

func NewLogsTable(kvdb dbm.KV) *table.Table

NewLogsTable create table

Types

type LogsRow

type LogsRow struct {
	*evmxgotypes.LocalEvmxgoLogs
}

LogsRow row

func NewOrderRow

func NewOrderRow() *LogsRow

NewOrderRow create row

func (*LogsRow) CreateRow

func (r *LogsRow) CreateRow() *table.Row

CreateRow create row

func (*LogsRow) Get

func (r *LogsRow) Get(key string) ([]byte, error)

Get get index key

func (*LogsRow) SetPayload

func (r *LogsRow) SetPayload(data types.Message) error

SetPayload set payload

Jump to

Keyboard shortcuts

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