Documentation ¶
Index ¶
- type UniswapV2
- func (u *UniswapV2) FilterPairCreated(fromBlock uint64, toBlock *uint64) ([]*entity.PairCreated, error)
- func (u *UniswapV2) Liquidity(opts *bind.CallOpts, baseToken, quoteToken string) (*decimal.Decimal, *decimal.Decimal, error)
- func (u *UniswapV2) PairFor(baseToken, quoteToken string, feeRate ...int) (string, error)
- func (u *UniswapV2) SpotPrice(opts *bind.CallOpts, baseToken, quoteToken string, middleToken ...string) (*decimal.Decimal, error)
- func (u *UniswapV2) WatchPairCreated() (event.Subscription, chan *entity.PairCreated, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UniswapV2 ¶
func (*UniswapV2) FilterPairCreated ¶
func (*UniswapV2) WatchPairCreated ¶
func (u *UniswapV2) WatchPairCreated() (event.Subscription, chan *entity.PairCreated, error)
Click to show internal directories.
Click to hide internal directories.