pool

package
v1.4.1-rc-180 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: GPL-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BARNBRIDGEPoolDetail

type BARNBRIDGEPoolDetail struct {
	InTokens     []string
	VaultAddress string
	PoolID       string
}

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 CFIPool

type CFIPool struct {
	PoolName     string
	PoolAddress  string
	GaugeAddress string
}

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

type YFIPoolDetail struct {
	TokenName    string
	VaultAddress string
	PoolID       string
}

Directories

Path Synopsis
balancer
barnbridge
curveficontracts
ren
erc
loopring
yficontracts

Jump to

Keyboard shortcuts

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