Skip to content

Commit f24993b

Browse files
authored
docs: fixed issues in README (closes #44)
1 parent a28f236 commit f24993b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,26 +98,26 @@ uniswap_wrapper.get_token_eth_output_price(bat, 1*10**18)
9898
uniswap_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
117117
uniswap_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

0 commit comments

Comments
 (0)