evmxgo

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EvmxgoTxDB   = "evmxgo_tx"   //evmxgo_tx/evmxgo_tx/{tx_hash}
	EvmxgoInfoDB = "evmxgo_info" //evmxgo_info/evmxgoinfo/{symbol}
	DefaultType  = "_doc"

	ExecEvmxgoX = "evmxgo"
)

evmxgo db

View Source
const (
	TxRecordMapping = `` /* 616-byte string literal not displayed */

	BalanceRecordMapping = `` /* 195-byte string literal not displayed */

	InfoRecordMapping = `` /* 343-byte string literal not displayed */

)

mapping

Variables

This section is empty.

Functions

func NewConvert

func NewConvert(paraTitle, symbol string, supports []string) db.ExecConvert

NewConvert NewConvert

Types

type Convert

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

Convert tx convert

func (*Convert) ConvertTx

func (e *Convert) ConvertTx(env *db.TxEnv, op int) ([]db.Record, error)

ConvertTx impl

func (*Convert) InitDB

func (e *Convert) InitDB(cli db.DBCreator) error

InitDB init db

func (*Convert) ParseMintAndBurnLog

func (e *Convert) ParseMintAndBurnLog(data *types.ReceiptData, symbol string, op int) []db.Record

ParseMintAndBurnLog ParseMintAndBurnLog

type Evmxgo

type Evmxgo struct {
	Symbol       string `json:"symbol,omitempty"`
	Amount       int64  `json:"amount,omitempty"`
	Introduction string `json:"introduction,omitempty"`
}

Evmxgo Evmxgo

type Record

type Record struct {
	*db.IKey
	*db.Op
	// contains filtered or unexported fields
}

Record db evmxgo

func (*Record) Value

func (r *Record) Value() []byte

Value impl

type RecordEvmxgo

type RecordEvmxgo struct {
	*db.IKey
	*db.Op
	// contains filtered or unexported fields
}

RecordEvmxgo db evmxgo

func (*RecordEvmxgo) Value

func (r *RecordEvmxgo) Value() []byte

Value impl

type TxOption

type TxOption struct {
	// evmxgo
	Symbol       string `json:"symbol,omitempty"`
	Address      string `json:"address,omitempty"`
	To           string `json:"to,omitempty"`
	ExecName     string `json:"exec_name,omitempty"`
	Amount       int64  `json:"amount,omitempty"`
	Name         string `json:"name,omitempty"`
	Introduction string `json:"introduction,omitempty"`
	Total        int64  `json:"total,omitempty"`
	Note         string `json:"note,omitempty"`
}

TxOption TxOption

Jump to

Keyboard shortcuts

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