model

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockDataAnalytics

type BlockDataAnalytics struct {
	bun.BaseModel `bun:"table:block_data_analytics"`

	ID              int64     `bun:"id,pk,autoincrement"`
	ChainInfoID     int64     `bun:"chain_info_id,pk,notnull"`
	Height          int64     `bun:"height,notnull"`
	Timestamp       time.Time `bun:"timestamp,notnull"`
	TotalTxsBytes   int64     `bun:"total_txs_bytes"`
	TotalGasUsed    int64     `bun:"total_gas_used"`
	TotalGasWanted  int64     `bun:"total_gas_wanted"`
	SuccessTxsCount int64     `bun:"success_txs_count"`
	FailedTxsCount  int64     `bun:"failed_txs_count"`
}

type BlockMessageAnalytics

type BlockMessageAnalytics struct {
	bun.BaseModel `bun:"table:block_message_analytics"`

	ID            int64     `bun:"id,pk,autoincrement"`
	ChainInfoID   int64     `bun:"chain_info_id,pk,notnull"`
	Height        int64     `bun:"height,notnull"`
	Timestamp     time.Time `bun:"timestamp,notnull"`
	MessageTypeID int64     `bun:"message_type_id"`
	Success       bool      `bun:"success"`
}

Jump to

Keyboard shortcuts

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