services

package
v0.0.0-...-efd78f8 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrackingService

type TrackingService struct {
	// contains filtered or unexported fields
}

func NewTrackingService

func NewTrackingService(client *ethclient.Client, db *gorm.DB) (*TrackingService, error)

func (*TrackingService) GetHistoricPoolData

func (s *TrackingService) GetHistoricPoolData(poolID uint) ([]models.PoolData, error)

func (*TrackingService) GetLatestBlock

func (s *TrackingService) GetLatestBlock() (int64, error)

func (*TrackingService) GetPoolData

func (s *TrackingService) GetPoolData(poolID uint, block string) (*models.PoolData, error)

func (*TrackingService) GetPoolMapping

func (s *TrackingService) GetPoolMapping() (map[string]string, error)

func (*TrackingService) Tracker

func (s *TrackingService) Tracker(poolAddress string) error

Jump to

Keyboard shortcuts

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