accounthistory

package
v0.61.2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareDelegationRows

func CompareDelegationRows(
	a, b models.AccountDelegationHistoryRow,
) int

func CompareRegistrationRows

func CompareRegistrationRows(
	a, b models.AccountRegistrationHistoryRow,
) int

func CountDelegationHistoryByCredential added in v0.55.0

func CountDelegationHistoryByCredential(
	db *gorm.DB,
	credentialTag uint8,
	stakingKey []byte,
) (int, error)

func CountRegistrationHistoryByCredential added in v0.55.0

func CountRegistrationHistoryByCredential(
	db *gorm.DB,
	credentialTag uint8,
	stakingKey []byte,
) (int, error)

func DelegationTableCertType added in v0.55.0

func DelegationTableCertType(table string) (uint, bool)

func QueryDelegationHistoryByCredential added in v0.55.0

func QueryDelegationHistoryByCredential(
	db *gorm.DB,
	credentialTag uint8,
	stakingKey []byte,
	limit int,
	offset int,
	order string,
) ([]models.AccountDelegationHistoryRow, error)

func QueryRegistrationHistoryByCredential added in v0.55.0

func QueryRegistrationHistoryByCredential(
	db *gorm.DB,
	credentialTag uint8,
	stakingKey []byte,
	limit int,
	offset int,
	order string,
) ([]models.AccountRegistrationHistoryRow, error)

func RegistrationTableCertType added in v0.55.0

func RegistrationTableCertType(table string) (uint, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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