File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,26 +98,26 @@ uniswap_wrapper.get_token_eth_output_price(bat, 1*10**18)
9898uniswap_wrapper.get_token_eth_output_price(dai, 5 * 10 ** 18 )
9999```
100100
101- #### ERC20 Pool Methods
102- * [ get_eth_balance ] ( https://docs.uniswap.io/smart-contract-integration/vyper )
101+ #### ERC20 Pool Methods (v1 only)
102+ * [ get_ex_eth_balance ] ( https://docs.uniswap.io/smart-contract-integration/vyper )
103103``` python
104104# Get the balance of ETH in an exchange contract.
105- uniswap_wrapper.get_eth_balance (bat)
105+ uniswap_wrapper.get_ex_eth_balance (bat)
106106```
107107
108- * [ get_token_balance ] ( https://github.com/Uniswap/contracts-vyper/blob/master/contracts/uniswap_exchange.vy#L469 )
108+ * [ get_ex_token_balance ] ( https://github.com/Uniswap/contracts-vyper/blob/master/contracts/uniswap_exchange.vy#L469 )
109109``` python
110110# Get the balance of a token in an exchange contract.
111- uniswap_wrapper.get_token_balance (bat)
111+ uniswap_wrapper.get_ex_token_balance (bat)
112112```
113113
114114* [ get_exchange_rate] ( https://github.com/Uniswap/uniswap-frontend/blob/master/src/pages/Pool/AddLiquidity.js#L351 )
115115``` python
116- # Get the balance of a token in an exchange contract.
116+ # Get the exchange rate of token/ETH
117117uniswap_wrapper.get_exchange_rate(bat)
118118```
119119
120- #### Liquidity Methods
120+ #### Liquidity Methods (v1 only)
121121
122122* [ add_liquidity] ( https://github.com/Uniswap/contracts-vyper/blob/master/contracts/uniswap_exchange.vy#L48 )
123123``` python
You can’t perform that action at this time.
0 commit comments