Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPoolNotFound = errors.New("uniswap v2 factory: pair not found")
)
View Source
var (
ErrWrongToken = errors.New("uniswap v2 pool: PriceOf: token not in pool")
)
Functions ¶
This section is empty.
Types ¶
type Pair ¶
type Pair struct { Name string Address common.Address Immutables PairOpts State PairState // contains filtered or unexported fields }
type UniswapV2 ¶
type UniswapV2 struct { Client *ethclient.Client Factory *univ2factory.FactoryCaller // contains filtered or unexported fields }
func (*UniswapV2) GetPairAddress ¶
Click to show internal directories.
Click to hide internal directories.