Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BARNBRIDGEPoolDetail ¶
type BARNBRIDGEScraper ¶
type BARNBRIDGEScraper struct {
RestClient *ethclient.Client
WsClient *ethclient.Client
// contains filtered or unexported fields
}
func NewBARNBRIDGEScraper ¶
func NewBARNBRIDGEScraper(scraper *PoolScraper) *BARNBRIDGEScraper
type BalancerPoolScraper ¶
type BalancerPoolScraper struct {
// contains filtered or unexported fields
}
func NewBalancerPoolScraper ¶
func NewBalancerPoolScraper(scraper *PoolScraper) *BalancerPoolScraper
NewBalancerPoolScraper creates a new balancer scraper.
type CFIScraper ¶
type CFIScraper struct {
RestClient *ethclient.Client
WsClient *ethclient.Client
// contains filtered or unexported fields
}
func NewCFIScraper ¶
func NewCFIScraper(scraper *PoolScraper) *CFIScraper
type Cvault ¶
type Cvault struct {
RestClient *ethclient.Client
WsClient *ethclient.Client
DepositEvent chan *cvaultpoolcontract.CvaultpoolcontractDeposit
WithDrawEvent chan *cvaultpoolcontract.CvaultpoolcontractWithdraw
// contains filtered or unexported fields
}
func NewCvaultScraper ¶
func NewCvaultScraper(scraper *PoolScraper) *Cvault
type LRCPool ¶
type LRCPool struct {
RestClient *ethclient.Client
WsClient *ethclient.Client
// contains filtered or unexported fields
}
func NewLRCPoolScraper ¶
func NewLRCPoolScraper(scraper *PoolScraper) *LRCPool
type PoolHelper ¶
type PoolHelper interface {
}
type PoolScraper ¶
type PoolScraper struct {
// contains filtered or unexported fields
}
func SpawnPoolScraper ¶
func SpawnPoolScraper(datastore models.Datastore, poolName string) *PoolScraper
func (*PoolScraper) Close ¶
func (s *PoolScraper) Close() error
Close closes any existing API connections
func (*PoolScraper) RateChannel ¶
func (s *PoolScraper) RateChannel() chan *models.FarmingPool
RateChannel returns a channel that can be used to receive rate information
type SynthetixScraper ¶
type SynthetixScraper struct {
// contains filtered or unexported fields
}
func NewSynthetixScraper ¶
func NewSynthetixScraper(scraper *PoolScraper) *SynthetixScraper
type YFIPool ¶
type YFIPool struct {
RestClient *ethclient.Client
WsClient *ethclient.Client
// contains filtered or unexported fields
}
func NewYFIPool ¶
func NewYFIPool(scraper *PoolScraper) *YFIPool
type YFIPoolDetail ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.