model

package
v0.0.0-...-9bbcd85 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const EVENT_FILTER_STEP_NUM = 100

EVENT_FILTER_STEP_NUM

View Source
const TRANSCATION_MAX_GAS_LIMINT = 400000

TRANSCATION_MAX_GAS_LIMINT

Variables

This section is empty.

Functions

This section is empty.

Types

type EthereumEventMessage

type EthereumEventMessage struct {
	Event       string `json:"event"`        // 消息名称
	BlockNumber uint64 `json:"block_number"` // 交易ID
	TxId        string `json:"tx_id"`        // 交易hash
	ChainId     int64  `json:"chain_id"`     // 链ID
	Contract    string `json:"contract"`     // 合约地址
	BlockIndex  uint64 `json:"block_index"`  // 所在交易的Index
	Message     string `json:"message"`      // json格式化后的消息内容
}

Jump to

Keyboard shortcuts

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