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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BabylonVoteExtension

type BabylonVoteExtension struct {
	bun.BaseModel         `bun:"table:babylon_checkpoint"`
	ID                    int64     `bun:"id,pk,autoincrement"`
	ChainInfoID           int64     `bun:"chain_info_id,pk,notnull"`
	Epoch                 int64     `bun:"epoch,notnull"`
	Height                int64     `bun:"height,notnull"`
	Timestamp             time.Time `bun:"timestamp,notnull"`
	ValidatorHexAddressID int64     `bun:"validator_hex_address_id,notnull"`
	Status                int64     `bun:"status,notnull"`
}

func (BabylonVoteExtension) String

func (bve BabylonVoteExtension) String() string

type TotalBabylonVoteExtensionByMoniker

type TotalBabylonVoteExtensionByMoniker struct {
	Moniker      string `bun:"moniker"`
	UnknownCount int32  `bun:"unknown"`
	AbsentCount  int32  `bun:"absent"`
	CommitCount  int32  `bun:"commit"`
	NilCount     int32  `bun:"nil"`
}

func (TotalBabylonVoteExtensionByMoniker) String

Jump to

Keyboard shortcuts

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