Documentation ¶
Index ¶
- Constants
- type VEIndexerRepository
- func (repo *VEIndexerRepository) DeleteOldValidatorExtensionVoteList(chainID, retentionPeriod string) (int64, error)
- func (repo *VEIndexerRepository) InsertValidatorExtensionVoteList(chainInfoID int64, indexPointerHeight int64, ...) error
- func (repo *VEIndexerRepository) SelectRecentValidatorExtensionVoteList(chainID string) ([]model.RecentValidatorExtensionVote, error)
Constants ¶
View Source
const IndexName = "veindexer"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VEIndexerRepository ¶
type VEIndexerRepository struct { *bun.DB indexerrepo.IMetaRepository // contains filtered or unexported fields }
func NewRepository ¶
func NewRepository(indexerDB common.IndexerDB, sqlTimeout time.Duration) VEIndexerRepository
func (*VEIndexerRepository) DeleteOldValidatorExtensionVoteList ¶
func (repo *VEIndexerRepository) DeleteOldValidatorExtensionVoteList(chainID, retentionPeriod string) ( int64, error, )
func (*VEIndexerRepository) InsertValidatorExtensionVoteList ¶
func (repo *VEIndexerRepository) InsertValidatorExtensionVoteList( chainInfoID int64, indexPointerHeight int64, ValidatorVoteList []model.ValidatorExtensionVote, ) error
func (*VEIndexerRepository) SelectRecentValidatorExtensionVoteList ¶
func (repo *VEIndexerRepository) SelectRecentValidatorExtensionVoteList(chainID string) ([]model.RecentValidatorExtensionVote, error)
Click to show internal directories.
Click to hide internal directories.