entities

package
v0.73.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxCursor

type TxCursor struct {
	BlockNumber uint64
	TxIndex     uint32
}

func TxCursorFromString

func TxCursorFromString(s string) (TxCursor, error)

func (*TxCursor) String

func (c *TxCursor) String() string

type TxResultRow

type TxResultRow struct {
	RowID     int64     `db:"rowid"`
	BlockID   int64     `db:"block_id"`
	Index     int64     `db:"index"`
	CreatedAt time.Time `db:"created_at"`
	TxHash    string    `db:"tx_hash"`
	TxResult  []byte    `db:"tx_result"`
	Submitter string    `db:"submitter"`
	CmdType   string    `db:"cmd_type"`
}

func (*TxResultRow) Cursor

func (t *TxResultRow) Cursor() TxCursor

func (*TxResultRow) ToProto

func (t *TxResultRow) ToProto() (*pb.Transaction, error)

Jump to

Keyboard shortcuts

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