Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ethereum = iota Base BSC Unsupported )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client allows to do operations on uniswap smart contracts.
func NewClient ¶
func NewClient(bc utils.Blockchain, chain int) *Client
NewClient returns a new instance of uniswap client.
func (*Client) GetFactory ¶
GetFactory returns the factory address for a given pool
func (*Client) GetLiquidityFromPool ¶
GetLiquidityFromPool returns the liquidity of the pool.
Click to show internal directories.
Click to hide internal directories.